diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/settings/user/EditUserForm.js | 2 | ||||
-rw-r--r-- | src/stores/UIStore.js | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/components/settings/user/EditUserForm.js b/src/components/settings/user/EditUserForm.js index f9b60dc52..a1a353e57 100644 --- a/src/components/settings/user/EditUserForm.js +++ b/src/components/settings/user/EditUserForm.js | |||
@@ -11,8 +11,6 @@ import Button from '../../ui/Button'; | |||
11 | import Radio from '../../ui/Radio'; | 11 | import Radio from '../../ui/Radio'; |
12 | import Infobox from '../../ui/Infobox'; | 12 | import Infobox from '../../ui/Infobox'; |
13 | 13 | ||
14 | console.log('input', Input); | ||
15 | |||
16 | const messages = defineMessages({ | 14 | const messages = defineMessages({ |
17 | headline: { | 15 | headline: { |
18 | id: 'settings.account.headline', | 16 | id: 'settings.account.headline', |
diff --git a/src/stores/UIStore.js b/src/stores/UIStore.js index e3c5103da..bb7965a4a 100644 --- a/src/stores/UIStore.js +++ b/src/stores/UIStore.js | |||
@@ -1,5 +1,5 @@ | |||
1 | import { action, observable, computed } from 'mobx'; | 1 | import { action, observable, computed } from 'mobx'; |
2 | import * as theme from '@meetfranz/theme'; | 2 | import { theme } from '@meetfranz/theme'; |
3 | 3 | ||
4 | import Store from './lib/Store'; | 4 | import Store from './lib/Store'; |
5 | 5 | ||
@@ -23,10 +23,10 @@ export default class UIStore extends Store { | |||
23 | 23 | ||
24 | @computed get theme() { | 24 | @computed get theme() { |
25 | if (this.stores.settings.all.app.darkMode) { | 25 | if (this.stores.settings.all.app.darkMode) { |
26 | return theme.default('dark'); | 26 | return theme('dark'); |
27 | } | 27 | } |
28 | 28 | ||
29 | return theme.default('default'); | 29 | return theme('default'); |
30 | } | 30 | } |
31 | 31 | ||
32 | // Actions | 32 | // Actions |