perf: improve loading speed (#116)

This commit is contained in:
Cody Tseng 2025-02-12 22:09:00 +08:00 committed by GitHub
parent 6f91c200a9
commit d5f46690c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 705 additions and 514 deletions

View file

@ -74,7 +74,7 @@ const ProfileEditorPage = forwardRef(({ index }: { index?: number }, ref) => {
profileEvent?.tags
)
const newProfileEvent = await publish(profileDraftEvent)
updateProfileEvent(newProfileEvent)
await updateProfileEvent(newProfileEvent)
setSaving(false)
pop()
}