aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/SharedStore.ts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-27 19:41:46 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-27 19:51:14 +0100
commitf5f27eddc93314e8e10ab96c7bdb5c626142a1d3 (patch)
tree99ce5eca8c2bf3590612b24e33d4fe727bd240ab /packages/shared/src/stores/SharedStore.ts
parentfix: Allow the shared store listener to re-register in dev mode (diff)
downloadsophie-f5f27eddc93314e8e10ab96c7bdb5c626142a1d3.tar.gz
sophie-f5f27eddc93314e8e10ab96c7bdb5c626142a1d3.tar.zst
sophie-f5f27eddc93314e8e10ab96c7bdb5c626142a1d3.zip
refactor: Inversion of control with typed-inject
Diffstat (limited to 'packages/shared/src/stores/SharedStore.ts')
-rw-r--r--packages/shared/src/stores/SharedStore.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/shared/src/stores/SharedStore.ts b/packages/shared/src/stores/SharedStore.ts
index cfff6d5..c6c3ddc 100644
--- a/packages/shared/src/stores/SharedStore.ts
+++ b/packages/shared/src/stores/SharedStore.ts
@@ -30,7 +30,7 @@ import { config } from './Config';
30 30
31export const sharedStore = types.model('SharedStore', { 31export const sharedStore = types.model('SharedStore', {
32 config: types.optional(config, {}), 32 config: types.optional(config, {}),
33 shouldUseDarkColors: true, 33 shouldUseDarkColors: false,
34}); 34});
35 35
36export interface SharedStore extends Instance<typeof sharedStore> {} 36export interface SharedStore extends Instance<typeof sharedStore> {}