diff options
author | vantezzen <properly@protonmail.com> | 2019-08-22 21:40:07 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-08-22 21:40:07 +0200 |
commit | 30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f (patch) | |
tree | 41dde64402f6a5ff93796ff5c541bf4dcf766542 /src/components/layout | |
parent | Re-adding package-lock (diff) | |
download | ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.gz ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.tar.zst ferdium-app-30a891a83ce4bbbbaa6f6f3a13d2031b0a58188f.zip |
Fix eslint errors
Diffstat (limited to 'src/components/layout')
-rw-r--r-- | src/components/layout/Sidebar.js | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/components/layout/Sidebar.js b/src/components/layout/Sidebar.js index 3d8bcddb0..1bf2554b5 100644 --- a/src/components/layout/Sidebar.js +++ b/src/components/layout/Sidebar.js | |||
@@ -7,7 +7,7 @@ import { Link } from 'react-router'; | |||
7 | 7 | ||
8 | import Tabbar from '../services/tabs/Tabbar'; | 8 | import Tabbar from '../services/tabs/Tabbar'; |
9 | import { ctrlKey } from '../../environment'; | 9 | import { ctrlKey } from '../../environment'; |
10 | import { GA_CATEGORY_WORKSPACES, workspaceStore } from '../../features/workspaces'; | 10 | import { workspaceStore } from '../../features/workspaces'; |
11 | 11 | ||
12 | const messages = defineMessages({ | 12 | const messages = defineMessages({ |
13 | settings: { | 13 | settings: { |
@@ -107,8 +107,8 @@ export default @observer class Sidebar extends Component { | |||
107 | <i className="mdi mdi-view-grid" /> | 107 | <i className="mdi mdi-view-grid" /> |
108 | </button> | 108 | </button> |
109 | ) : null} | 109 | ) : null} |
110 | 110 | ||
111 | <button | 111 | <button |
112 | type="button" | 112 | type="button" |
113 | onClick={() => { | 113 | onClick={() => { |
114 | toggleMuteApp(); | 114 | toggleMuteApp(); |
@@ -129,15 +129,16 @@ export default @observer class Sidebar extends Component { | |||
129 | </button> | 129 | </button> |
130 | </> | 130 | </> |
131 | ) : ( | 131 | ) : ( |
132 | <Link | 132 | <Link |
133 | to="/auth/welcome" | 133 | to="/auth/welcome" |
134 | className="sidebar__button sidebar__button--new-service" | 134 | className="sidebar__button sidebar__button--new-service" |
135 | data-tip="Login"> | 135 | data-tip="Login" |
136 | <i className="mdi mdi-login-variant" /> | 136 | > |
137 | <i className="mdi mdi-login-variant" /> | ||
137 | </Link> | 138 | </Link> |
138 | ) | 139 | ) |
139 | } | 140 | } |
140 | 141 | ||
141 | <button | 142 | <button |
142 | type="button" | 143 | type="button" |
143 | onClick={() => openSettings({ path: 'app' })} | 144 | onClick={() => openSettings({ path: 'app' })} |