diff options
author | 2021-06-23 20:39:18 +0530 | |
---|---|---|
committer | 2021-06-23 17:09:18 +0200 | |
commit | 4d26ffd4805c234e4b0592ae5aa9254e8c3206fd (patch) | |
tree | 6e1e9dd01f53677c40482e45cea3646e952750a9 /src/containers/settings/SettingsWindow.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/containers/settings/SettingsWindow.js')
-rw-r--r-- | src/containers/settings/SettingsWindow.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/containers/settings/SettingsWindow.js b/src/containers/settings/SettingsWindow.js index 440d32a46..89c2aaa27 100644 --- a/src/containers/settings/SettingsWindow.js +++ b/src/containers/settings/SettingsWindow.js | |||
@@ -9,6 +9,7 @@ import Layout from '../../components/settings/SettingsLayout'; | |||
9 | import Navigation from '../../components/settings/navigation/SettingsNavigation'; | 9 | import Navigation from '../../components/settings/navigation/SettingsNavigation'; |
10 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 10 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
11 | import { workspaceStore } from '../../features/workspaces'; | 11 | import { workspaceStore } from '../../features/workspaces'; |
12 | import UIStore from '../../stores/UIStore'; | ||
12 | 13 | ||
13 | export default @inject('stores', 'actions') @observer class SettingsContainer extends Component { | 14 | export default @inject('stores', 'actions') @observer class SettingsContainer extends Component { |
14 | portalRoot = document.querySelector('#portalContainer'); | 15 | portalRoot = document.querySelector('#portalContainer'); |
@@ -57,8 +58,6 @@ SettingsContainer.wrappedComponent.propTypes = { | |||
57 | services: PropTypes.instanceOf(ServicesStore).isRequired, | 58 | services: PropTypes.instanceOf(ServicesStore).isRequired, |
58 | }).isRequired, | 59 | }).isRequired, |
59 | actions: PropTypes.shape({ | 60 | actions: PropTypes.shape({ |
60 | ui: PropTypes.shape({ | 61 | ui: PropTypes.instanceOf(UIStore).isRequired, |
61 | closeSettings: PropTypes.func.isRequired, | ||
62 | }), | ||
63 | }).isRequired, | 62 | }).isRequired, |
64 | }; | 63 | }; |