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