From 12ac7d719fc7389bbcc6420032e48c33ccb04308 Mon Sep 17 00:00:00 2001 From: guru_sainath Date: Mon, 22 Jul 2024 14:13:52 +0530 Subject: [PATCH] chore: resolved the build error in the rootstore (#673) --- web/core/store/root.store.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/core/store/root.store.ts b/web/core/store/root.store.ts index 8cf126eade..216b69acf4 100644 --- a/web/core/store/root.store.ts +++ b/web/core/store/root.store.ts @@ -1,4 +1,6 @@ import { enableStaticRendering } from "mobx-react"; +// plane web store +import { RootStore } from "@/plane-web/store/root.store"; // stores import { CommandPaletteStore, ICommandPaletteStore } from "./command-palette.store"; import { CycleStore, ICycleStore } from "./cycle.store"; @@ -68,7 +70,7 @@ export class CoreRootStore { this.moduleFilter = new ModuleFilterStore(this); this.projectView = new ProjectViewStore(this); this.globalView = new GlobalViewStore(this); - this.issue = new IssueRootStore(this); + this.issue = new IssueRootStore(this as unknown as RootStore); this.state = new StateStore(this); this.label = new LabelStore(this); this.dashboard = new DashboardStore(this); @@ -97,7 +99,7 @@ export class CoreRootStore { this.moduleFilter = new ModuleFilterStore(this); this.projectView = new ProjectViewStore(this); this.globalView = new GlobalViewStore(this); - this.issue = new IssueRootStore(this); + this.issue = new IssueRootStore(this as unknown as RootStore); this.state = new StateStore(this); this.label = new LabelStore(this); this.dashboard = new DashboardStore(this);