mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
20 lines
375 B
TypeScript
20 lines
375 B
TypeScript
import { enableStaticRendering } from "mobx-react";
|
|
// stores
|
|
import { CoreRootStore } from "@/store/root.store";
|
|
|
|
enableStaticRendering(typeof window === "undefined");
|
|
|
|
export class RootStore extends CoreRootStore {
|
|
constructor() {
|
|
super();
|
|
}
|
|
|
|
hydrate(initialData: any) {
|
|
super.hydrate(initialData);
|
|
}
|
|
|
|
resetOnSignOut() {
|
|
super.resetOnSignOut();
|
|
}
|
|
}
|