Browse Source

fix: fix function boolean typo

Ryan Di 3 năm trước cách đây
mục cha
commit
2816c72c62
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/excalidraw-app/collab/Collab.tsx

+ 1 - 1
src/excalidraw-app/collab/Collab.tsx

@@ -226,7 +226,7 @@ class Collab extends PureComponent<Props, CollabState> {
       preventUnload(event);
     }
 
-    if (this.isCollaborating || this.portal.roomId) {
+    if (this.isCollaborating() || this.portal.roomId) {
       try {
         localStorage?.setItem(
           STORAGE_KEYS.LOCAL_STORAGE_KEY_COLLAB_FORCE_FLAG,