Skip to content

Commit

Permalink
#286 fix Events should not be generated while client is waiting for P…
Browse files Browse the repository at this point in the history
…roceed message from server
  • Loading branch information
mqasim23 committed Nov 13, 2024
1 parent 2914377 commit 2fe9bea
Show file tree
Hide file tree
Showing 2 changed files with 533 additions and 280 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ const App = () => {
const { EventID, Proceed } = serverEvent
setProceedEventArray((prev) => ({...prev, [EventID]: Proceed}));
setProceed(Proceed)
localStorage.setItem(EventID, Proceed);
localStorage.setItem(EventID, Proceed);
}
else if (keys[0] == 'EX') {
const serverEvent = JSON.parse(event.data).EX;
Expand Down
Loading

0 comments on commit 2fe9bea

Please sign in to comment.