fix: make collab ready reliable on tab return
This commit is contained in:
parent
e40faf97ec
commit
a74d3feae4
1 changed files with 2 additions and 0 deletions
|
|
@ -273,6 +273,8 @@ export default function PageEditor({
|
|||
collabRetryCount.current > 2 ? 3000 : 0,
|
||||
);
|
||||
|
||||
setIsCollabReady(true);
|
||||
|
||||
return () => clearTimeout(reconnectTimeout);
|
||||
}
|
||||
}, [isIdle, documentState, remoteProvider?.status]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue