diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-27 19:41:46 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-27 19:51:14 +0100 |
commit | f5f27eddc93314e8e10ab96c7bdb5c626142a1d3 (patch) | |
tree | 99ce5eca8c2bf3590612b24e33d4fe727bd240ab /packages/shared/src/stores/SharedStore.ts | |
parent | fix: Allow the shared store listener to re-register in dev mode (diff) | |
download | sophie-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.ts | 2 |
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 | ||
31 | export const sharedStore = types.model('SharedStore', { | 31 | export 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 | ||
36 | export interface SharedStore extends Instance<typeof sharedStore> {} | 36 | export interface SharedStore extends Instance<typeof sharedStore> {} |