Skip to content

Commit

Permalink
revert deletion of setAppInstance method
Browse files Browse the repository at this point in the history
  • Loading branch information
davwas committed Nov 10, 2023
1 parent c57c743 commit 264459f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks/useMultiplayerState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ export function useMultiplayerState(roomId: string) {
(app: TldrawApp) => {
app.loadRoom(roomId);
app.pause();
setAppInstance(app);
},
[roomId],
);

const onChangePage = useCallback(
(
app: TldrawApp,
Expand Down

0 comments on commit 264459f

Please sign in to comment.