aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/RootStore.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/RootStore.tsx')
-rw-r--r--subprojects/frontend/src/RootStore.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subprojects/frontend/src/RootStore.tsx b/subprojects/frontend/src/RootStore.tsx
index a7406d7b..4a267b0e 100644
--- a/subprojects/frontend/src/RootStore.tsx
+++ b/subprojects/frontend/src/RootStore.tsx
@@ -4,13 +4,13 @@ import EditorStore from './editor/EditorStore';
4import ThemeStore from './theme/ThemeStore'; 4import ThemeStore from './theme/ThemeStore';
5 5
6export default class RootStore { 6export default class RootStore {
7 editorStore; 7 readonly editorStore: EditorStore;
8 8
9 themeStore; 9 readonly themeStore: ThemeStore;
10 10
11 constructor(initialValue: string) { 11 constructor(initialValue: string) {
12 this.editorStore = new EditorStore(initialValue);
12 this.themeStore = new ThemeStore(); 13 this.themeStore = new ThemeStore();
13 this.editorStore = new EditorStore(initialValue, this.themeStore);
14 } 14 }
15} 15}
16 16