Skip to content

Commit

Permalink
поправил вебсокеты
Browse files Browse the repository at this point in the history
  • Loading branch information
veglem committed May 31, 2024
1 parent ed406dd commit aade028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion public/src/components/SharePanel/SharePanel.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {ScReact} from "@veglem/screact";
import {Button} from "../Button/Button";
import "./SharePanel.sass"
import {ToggleButton} from "../ToggleButton/ToggleButton";
import {Img} from "../Image/Image";
Expand Down
2 changes: 2 additions & 0 deletions public/src/modules/stores/NotesStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ class NotesStore extends BaseStore<NotesStoreState> {
AppNotesStore.ClearCallbacks()
AppNoteStore.ClearCallbacks()

this.invitesWS?.close();

this.SetState(state => ({
...state,
notes: [],
Expand Down

0 comments on commit aade028

Please sign in to comment.