diff options
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r-- | src/stores/UserStore.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 787ffbb56..8c413a065 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -10,7 +10,8 @@ import Store from './lib/Store'; | |||
10 | import Request from './lib/Request'; | 10 | import Request from './lib/Request'; |
11 | import CachedRequest from './lib/CachedRequest'; | 11 | import CachedRequest from './lib/CachedRequest'; |
12 | 12 | ||
13 | const debug = require('debug')('Ferdium:UserStore'); | 13 | // TODO: Go back to 'debug' from 'console.log' when https://github.com/electron/electron/issues/31689 is fixed |
14 | // const debug = require('debug')('Ferdium:UserStore'); | ||
14 | 15 | ||
15 | // TODO: split stores into UserStore and AuthStore | 16 | // TODO: split stores into UserStore and AuthStore |
16 | export default class UserStore extends Store { | 17 | export default class UserStore extends Store { |
@@ -394,7 +395,7 @@ export default class UserStore extends Store { | |||
394 | } | 395 | } |
395 | 396 | ||
396 | if (!this.data.locale) { | 397 | if (!this.data.locale) { |
397 | debug('Migrate "locale" to user data'); | 398 | console.log('Migrate "locale" to user data'); |
398 | this.actions.user.update({ | 399 | this.actions.user.update({ |
399 | userData: { | 400 | userData: { |
400 | locale: this.stores.app.locale, | 401 | locale: this.stores.app.locale, |