diff --git a/packages/editor/src/lib/hooks/usePresence.ts b/packages/editor/src/lib/hooks/usePresence.ts index 55e51950a..7b92018f3 100644 --- a/packages/editor/src/lib/hooks/usePresence.ts +++ b/packages/editor/src/lib/hooks/usePresence.ts @@ -15,7 +15,7 @@ export function usePresence(userId: string): TLInstancePresence | null { () => { return editor.getCollaborators().find((c) => c.userId === userId) }, - [editor] + [editor, userId] ) return latestPresence ?? null