mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 06:52:07 +10:00
fix: make collab ready reliable on tab return
This commit is contained in:
@ -273,6 +273,8 @@ export default function PageEditor({
|
||||
collabRetryCount.current > 2 ? 3000 : 0,
|
||||
);
|
||||
|
||||
setIsCollabReady(true);
|
||||
|
||||
return () => clearTimeout(reconnectTimeout);
|
||||
}
|
||||
}, [isIdle, documentState, remoteProvider?.status]);
|
||||
|
||||
Reference in New Issue
Block a user