fix: fix function boolean typo

This commit is contained in:
Ryan Di 2022-08-26 15:33:14 +08:00
parent 2b4462c941
commit 2816c72c62

View File

@ -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,