diff options
author | 2021-06-23 20:39:18 +0530 | |
---|---|---|
committer | 2021-06-23 17:09:18 +0200 | |
commit | 4d26ffd4805c234e4b0592ae5aa9254e8c3206fd (patch) | |
tree | 6e1e9dd01f53677c40482e45cea3646e952750a9 /src/components/layout/Sidebar.js | |
parent | Added new message when the user doesn't find a service (but that is present i... (diff) | |
download | ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.tar.gz ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.tar.zst ferdium-app-4d26ffd4805c234e4b0592ae5aa9254e8c3206fd.zip |
Upgraded eslint and fixed all the reported errors. (#1549)
Diffstat (limited to 'src/components/layout/Sidebar.js')
-rw-r--r-- | src/components/layout/Sidebar.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/layout/Sidebar.js b/src/components/layout/Sidebar.js index ee5699a83..802538eba 100644 --- a/src/components/layout/Sidebar.js +++ b/src/components/layout/Sidebar.js | |||
@@ -10,6 +10,8 @@ import { ctrlKey, isMac } from '../../environment'; | |||
10 | import { workspaceStore } from '../../features/workspaces'; | 10 | import { workspaceStore } from '../../features/workspaces'; |
11 | import { todosStore } from '../../features/todos'; | 11 | import { todosStore } from '../../features/todos'; |
12 | import { todoActions } from '../../features/todos/actions'; | 12 | import { todoActions } from '../../features/todos/actions'; |
13 | import AppStore from '../../stores/AppStore'; | ||
14 | import SettingsStore from '../../stores/SettingsStore'; | ||
13 | 15 | ||
14 | // Platform specific shortcut keys | 16 | // Platform specific shortcut keys |
15 | const settingsShortcutKey = isMac ? ',' : 'P'; | 17 | const settingsShortcutKey = isMac ? ',' : 'P'; |
@@ -61,6 +63,13 @@ export default @inject('stores', 'actions') @observer class Sidebar extends Comp | |||
61 | isWorkspaceDrawerOpen: PropTypes.bool.isRequired, | 63 | isWorkspaceDrawerOpen: PropTypes.bool.isRequired, |
62 | toggleWorkspaceDrawer: PropTypes.func.isRequired, | 64 | toggleWorkspaceDrawer: PropTypes.func.isRequired, |
63 | isTodosServiceActive: PropTypes.bool.isRequired, | 65 | isTodosServiceActive: PropTypes.bool.isRequired, |
66 | stores: PropTypes.shape({ | ||
67 | app: PropTypes.instanceOf(AppStore).isRequired, | ||
68 | settings: PropTypes.instanceOf(SettingsStore).isRequired, | ||
69 | }).isRequired, | ||
70 | actions: PropTypes.shape({ | ||
71 | settings: PropTypes.instanceOf(SettingsStore).isRequired, | ||
72 | }).isRequired, | ||
64 | }; | 73 | }; |
65 | 74 | ||
66 | static contextTypes = { | 75 | static contextTypes = { |