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