fix: editor user config (#5974)

This commit is contained in:
Aaryan Khandelwal 2024-11-08 13:30:06 +05:30 committed by GitHub
parent 4c6ab984c3
commit 2193e8c79c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 11 deletions

View file

@ -55,7 +55,7 @@ export const useCollaborativeEditor = (props: TCollaborativeEditorProps) => {
},
onSynced: () => setHasServerSynced(true),
}),
[id, realtimeConfig, serverHandler, user.id]
[id, realtimeConfig, serverHandler, user]
);
// destroy and disconnect connection on unmount