chore: resolved the build error in the rootstore (#673)

This commit is contained in:
guru_sainath
2024-07-22 14:13:52 +05:30
committed by GitHub
parent 5112d077a9
commit 12ac7d719f

View File

@@ -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);