chore(deps): bump y-indexeddb from 9.0.9 to 9.0.11 (#5656)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
dependabot[bot]
2023-08-07 15:08:18 -07:00
committed by GitHub
parent ef9c410d97
commit 454a4e9a8d
3 changed files with 9 additions and 8 deletions

View File

@@ -175,7 +175,7 @@ function MultiplayerEditor({ onSynced, ...props }: Props, ref: any) {
window.removeEventListener("wheel", finishObserving);
window.removeEventListener("scroll", syncScrollPosition);
provider?.destroy();
localProvider?.destroy();
void localProvider?.destroy();
setRemoteProvider(null);
ui.setMultiplayerStatus(undefined);
};
@@ -190,6 +190,7 @@ function MultiplayerEditor({ onSynced, ...props }: Props, ref: any) {
token,
currentUser.id,
isMounted,
auth,
]);
const user = React.useMemo(