diff options
Diffstat (limited to 'packages/shared/src/stores/SharedStore.ts')
-rw-r--r-- | packages/shared/src/stores/SharedStore.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/shared/src/stores/SharedStore.ts b/packages/shared/src/stores/SharedStore.ts index 9c7d5ad..9f0afb1 100644 --- a/packages/shared/src/stores/SharedStore.ts +++ b/packages/shared/src/stores/SharedStore.ts | |||
@@ -26,11 +26,15 @@ import { | |||
26 | SnapshotOut, | 26 | SnapshotOut, |
27 | } from 'mobx-state-tree'; | 27 | } from 'mobx-state-tree'; |
28 | 28 | ||
29 | import { config, defaultConfig } from './Config'; | ||
30 | |||
29 | export const sharedStore = types.model("SharedStore", { | 31 | export const sharedStore = types.model("SharedStore", { |
32 | config, | ||
30 | shouldUseDarkColors: true, | 33 | shouldUseDarkColors: true, |
31 | }); | 34 | }); |
32 | 35 | ||
33 | export const emptySharedStore: SharedStoreSnapshotIn = { | 36 | export const emptySharedStore: SharedStoreSnapshotIn = { |
37 | config: defaultConfig, | ||
34 | }; | 38 | }; |
35 | 39 | ||
36 | export interface SharedStore extends Instance<typeof sharedStore> {} | 40 | export interface SharedStore extends Instance<typeof sharedStore> {} |