From fb4caa3f13f7daa012391f08c78c8aa55baac39d Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Thu, 19 Sep 2024 15:03:06 +0200 Subject: [PATCH] init sessionstore outside of context --- frontend/app/mstore/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/mstore/index.tsx b/frontend/app/mstore/index.tsx index 70e009e6c..2134fce4a 100644 --- a/frontend/app/mstore/index.tsx +++ b/frontend/app/mstore/index.tsx @@ -31,6 +31,7 @@ import { IntegrationsStore } from "./integrationsStore"; import ProjectsStore from './projectsStore'; export const projectStore = new ProjectsStore(); +export const sessionStore = new SessionStore(); export class RootStore { dashboardStore: DashboardStore; @@ -72,7 +73,7 @@ export class RootStore { this.auditStore = new AuditStore(); this.errorStore = new ErrorStore(); this.notificationStore = new NotificationStore(); - this.sessionStore = new SessionStore(); + this.sessionStore = sessionStore; this.notesStore = new NotesStore(); this.recordingsStore = new RecordingsStore(); this.assistMultiviewStore = new AssistMultiviewStore();