Skip to content

Commit 58411de

Browse files
committed
Final merges into main
1 parent 6f1ddf7 commit 58411de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/src/components/top/NavBarButtons.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ const handleStoreChange = debounce(() => {
108108
}
109109
}, 100);
110110

111-
store.subscribe(handleStoreChange);
111+
store.subscribe(() => {
112+
if (socket) {
113+
handleStoreChange();
114+
}
115+
});
112116

113117
const useStyles = makeStyles((theme) =>
114118
createStyles({

0 commit comments

Comments
 (0)