refactor: standardize event type naming for resync handling

This commit is contained in:
mlogclub
2026-04-25 17:26:27 +08:00
parent 96fde7aaab
commit 94ac7d613c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ export const useKefuChatStore = create<KefuChatStore>((set, get) => {
return
}
const payload = event.data ?? event.payload
if (event.type === "resync.required") {
if (event.type === "resyncRequired") {
void get().refreshMessages()
return
}