From 33123c354b79f7951423dd75097b11e7eb075f99 Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Fri, 2 Jul 2021 19:49:55 -0600 Subject: Upgrade various dependencies to latest part 2 (#1557) * Upgrade various dependencies to latest, remove unnecessary electron-hunspell - upgrade eslint and friends to latest - remove deprecated 'node-sass' in favor of 'sass' - disable new rules from 'eslint-config-airbnb' that are conflicting with current code style - add workspace config for 'vscode' that silences 'experimentalDecorator' warning and forces 'prettier' to single quote * Run yarn lint to autofix with new ruleset and worked down lint issues to zero --- src/stores/AppStore.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/stores/AppStore.js') diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index dd4ab3629..3116677c2 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js @@ -127,7 +127,6 @@ export default class AppStore extends Store { this.isFullScreen = false; }); - this.isOnline = navigator.onLine; // Check if Ferdi should launch on start @@ -474,7 +473,6 @@ export default class AppStore extends Store { locale = this.stores.user.data.locale; } - if (locale && Object.prototype.hasOwnProperty.call(locales, locale) && locale !== this.locale) { this.locale = locale; } else if (!locale) { -- cgit v1.2.3-70-g09d2