Skip to content

Commit 7b48303

Browse files
author
Kerwin
committed
fix: miss null
1 parent ced3648 commit 7b48303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/modules/chat/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const useChatStore = defineStore('chat-store', {
3838
uuid = r.uuid
3939
this.chat.unshift({ uuid: r.uuid, data: [] })
4040
if (uuid === r.uuid)
41-
await this.syncChat(r, null)
41+
await this.syncChat(r, () => {})
4242
}
4343
if (uuid == null) {
4444
uuid = Date.now()

0 commit comments

Comments
 (0)