aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/SharedStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src/stores/SharedStore.ts')
-rw-r--r--packages/shared/src/stores/SharedStore.ts4
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
29import { config, defaultConfig } from './Config';
30
29export const sharedStore = types.model("SharedStore", { 31export const sharedStore = types.model("SharedStore", {
32 config,
30 shouldUseDarkColors: true, 33 shouldUseDarkColors: true,
31}); 34});
32 35
33export const emptySharedStore: SharedStoreSnapshotIn = { 36export const emptySharedStore: SharedStoreSnapshotIn = {
37 config: defaultConfig,
34}; 38};
35 39
36export interface SharedStore extends Instance<typeof sharedStore> {} 40export interface SharedStore extends Instance<typeof sharedStore> {}