From aade028b5b98947bda1d8379889f41cccf3c04d7 Mon Sep 17 00:00:00 2001 From: ZhurmilovVadim Date: Fri, 31 May 2024 09:09:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B2=D0=B5=D0=B1=D1=81=D0=BE=D0=BA=D0=B5=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/src/components/SharePanel/SharePanel.tsx | 1 - public/src/modules/stores/NotesStore.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/src/components/SharePanel/SharePanel.tsx b/public/src/components/SharePanel/SharePanel.tsx index a13aca3e..7d9906f6 100644 --- a/public/src/components/SharePanel/SharePanel.tsx +++ b/public/src/components/SharePanel/SharePanel.tsx @@ -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"; diff --git a/public/src/modules/stores/NotesStore.ts b/public/src/modules/stores/NotesStore.ts index d37db370..80f20fab 100644 --- a/public/src/modules/stores/NotesStore.ts +++ b/public/src/modules/stores/NotesStore.ts @@ -120,6 +120,8 @@ class NotesStore extends BaseStore { AppNotesStore.ClearCallbacks() AppNoteStore.ClearCallbacks() + this.invitesWS?.close(); + this.SetState(state => ({ ...state, notes: [],