Skip to content

Commit 8dac137

Browse files
committed
fix: ensure collaborators state is always a Map instance
1 parent 4b35fa9 commit 8dac137

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/frontend/src/App.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ export default function App({
5050
if ("height" in appState) {
5151
delete appState.height;
5252
}
53-
if (!(appState.collaborators instanceof Map)) {
54-
appState.collaborators = new Map();
55-
}
53+
appState.collaborators = new Map();
5654
return { ...data, appState };
5755
}
5856

0 commit comments

Comments
 (0)