mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Restore return on join doc error (#23377)
GitOrigin-RevId: df03621221ecacffe50cb805fd3a2fd71ce773a7
This commit is contained in:
@@ -361,6 +361,7 @@ export const EditorManagerProvider: FC = ({ children }) => {
|
||||
)
|
||||
newDocument.leaveAndCleanUp()
|
||||
reject(new Error('another document was loaded'))
|
||||
return
|
||||
}
|
||||
bindToDocumentEvents(doc, newDocument)
|
||||
resolve(newDocument)
|
||||
|
||||
Reference in New Issue
Block a user