From e8473abae9fc905cbafcfeb1ce281fa2869b6f09 Mon Sep 17 00:00:00 2001 From: Dominik Guzei Date: Wed, 8 May 2019 17:04:37 +0200 Subject: fixes eslint issues --- src/components/layout/AppLayout.js | 1 - src/containers/layout/AppLayoutContainer.js | 1 - src/features/announcements/store.js | 1 - .../messages/src/components/layout/AppLayout.json | 24 +++++++++++----------- 4 files changed, 12 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index fa83842a4..b31c00f54 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js @@ -14,7 +14,6 @@ import ErrorBoundary from '../util/ErrorBoundary'; // import globalMessages from '../../i18n/globalMessages'; import { isWindows } from '../../environment'; -import AnnouncementScreen from '../../features/announcements/components/AnnouncementScreen'; import WorkspaceSwitchingIndicator from '../../features/workspaces/components/WorkspaceSwitchingIndicator'; import { workspaceStore } from '../../features/workspaces'; import { announcementActions } from '../../features/announcements/actions'; diff --git a/src/containers/layout/AppLayoutContainer.js b/src/containers/layout/AppLayoutContainer.js index 83b3c27da..d290a6094 100644 --- a/src/containers/layout/AppLayoutContainer.js +++ b/src/containers/layout/AppLayoutContainer.js @@ -23,7 +23,6 @@ import { state as delayAppState } from '../../features/delayApp'; import { workspaceActions } from '../../features/workspaces/actions'; import WorkspaceDrawer from '../../features/workspaces/components/WorkspaceDrawer'; import { workspaceStore } from '../../features/workspaces'; -import { announcementsStore } from '../../features/announcements'; export default @inject('stores', 'actions') @observer class AppLayoutContainer extends Component { static defaultProps = { diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js index 27be86144..2ce33c299 100644 --- a/src/features/announcements/store.js +++ b/src/features/announcements/store.js @@ -2,7 +2,6 @@ import { action, computed, observable, - reaction, } from 'mobx'; import semver from 'semver'; import localStorage from 'mobx-localstorage'; diff --git a/src/i18n/messages/src/components/layout/AppLayout.json b/src/i18n/messages/src/components/layout/AppLayout.json index 26b8ce040..4dd354afc 100644 --- a/src/i18n/messages/src/components/layout/AppLayout.json +++ b/src/i18n/messages/src/components/layout/AppLayout.json @@ -4,11 +4,11 @@ "defaultMessage": "!!!Your services have been updated.", "file": "src/components/layout/AppLayout.js", "start": { - "line": 27, + "line": 26, "column": 19 }, "end": { - "line": 30, + "line": 29, "column": 3 } }, @@ -17,11 +17,11 @@ "defaultMessage": "!!!A new update for Franz is available.", "file": "src/components/layout/AppLayout.js", "start": { - "line": 31, + "line": 30, "column": 19 }, "end": { - "line": 34, + "line": 33, "column": 3 } }, @@ -30,11 +30,11 @@ "defaultMessage": "!!!Reload services", "file": "src/components/layout/AppLayout.js", "start": { - "line": 35, + "line": 34, "column": 24 }, "end": { - "line": 38, + "line": 37, "column": 3 } }, @@ -43,11 +43,11 @@ "defaultMessage": "!!!Changelog", "file": "src/components/layout/AppLayout.js", "start": { - "line": 39, + "line": 38, "column": 13 }, "end": { - "line": 42, + "line": 41, "column": 3 } }, @@ -56,11 +56,11 @@ "defaultMessage": "!!!Restart & install update", "file": "src/components/layout/AppLayout.js", "start": { - "line": 43, + "line": 42, "column": 23 }, "end": { - "line": 46, + "line": 45, "column": 3 } }, @@ -69,11 +69,11 @@ "defaultMessage": "!!!Could not load services and user information", "file": "src/components/layout/AppLayout.js", "start": { - "line": 47, + "line": 46, "column": 26 }, "end": { - "line": 50, + "line": 49, "column": 3 } } -- cgit v1.2.3-70-g09d2