aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/Sidebar.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-06-23 20:39:18 +0530
committerLibravatar GitHub <noreply@github.com>2021-06-23 17:09:18 +0200
commit4d26ffd4805c234e4b0592ae5aa9254e8c3206fd (patch)
tree6e1e9dd01f53677c40482e45cea3646e952750a9 /src/components/layout/Sidebar.js
parentAdded new message when the user doesn't find a service (but that is present i... (diff)
downloadferdium-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.js9
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';
10import { workspaceStore } from '../../features/workspaces'; 10import { workspaceStore } from '../../features/workspaces';
11import { todosStore } from '../../features/todos'; 11import { todosStore } from '../../features/todos';
12import { todoActions } from '../../features/todos/actions'; 12import { todoActions } from '../../features/todos/actions';
13import AppStore from '../../stores/AppStore';
14import SettingsStore from '../../stores/SettingsStore';
13 15
14// Platform specific shortcut keys 16// Platform specific shortcut keys
15const settingsShortcutKey = isMac ? ',' : 'P'; 17const 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 = {