diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-06-23 20:39:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 17:09:18 +0200 |
commit | 4d26ffd4805c234e4b0592ae5aa9254e8c3206fd (patch) | |
tree | 6e1e9dd01f53677c40482e45cea3646e952750a9 /src/features/workspaces/containers | |
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/features/workspaces/containers')
-rw-r--r-- | src/features/workspaces/containers/EditWorkspaceScreen.js | 5 | ||||
-rw-r--r-- | src/features/workspaces/containers/WorkspacesScreen.js | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/features/workspaces/containers/EditWorkspaceScreen.js b/src/features/workspaces/containers/EditWorkspaceScreen.js index 7eaabc1ea..5eca71259 100644 --- a/src/features/workspaces/containers/EditWorkspaceScreen.js +++ b/src/features/workspaces/containers/EditWorkspaceScreen.js | |||
@@ -8,14 +8,13 @@ import ServicesStore from '../../../stores/ServicesStore'; | |||
8 | import Workspace from '../models/Workspace'; | 8 | import Workspace from '../models/Workspace'; |
9 | import { workspaceStore } from '../index'; | 9 | import { workspaceStore } from '../index'; |
10 | import { deleteWorkspaceRequest, updateWorkspaceRequest } from '../api'; | 10 | import { deleteWorkspaceRequest, updateWorkspaceRequest } from '../api'; |
11 | import WorkspacesStore from '../store'; | ||
11 | 12 | ||
12 | @inject('stores', 'actions') @observer | 13 | @inject('stores', 'actions') @observer |
13 | class EditWorkspaceScreen extends Component { | 14 | class EditWorkspaceScreen extends Component { |
14 | static propTypes = { | 15 | static propTypes = { |
15 | actions: PropTypes.shape({ | 16 | actions: PropTypes.shape({ |
16 | workspace: PropTypes.shape({ | 17 | workspaces: PropTypes.instanceOf(WorkspacesStore), |
17 | delete: PropTypes.func.isRequired, | ||
18 | }), | ||
19 | }).isRequired, | 18 | }).isRequired, |
20 | stores: PropTypes.shape({ | 19 | stores: PropTypes.shape({ |
21 | services: PropTypes.instanceOf(ServicesStore).isRequired, | 20 | services: PropTypes.instanceOf(ServicesStore).isRequired, |
diff --git a/src/features/workspaces/containers/WorkspacesScreen.js b/src/features/workspaces/containers/WorkspacesScreen.js index affbd230d..c241cd622 100644 --- a/src/features/workspaces/containers/WorkspacesScreen.js +++ b/src/features/workspaces/containers/WorkspacesScreen.js | |||
@@ -10,14 +10,13 @@ import { | |||
10 | getUserWorkspacesRequest, | 10 | getUserWorkspacesRequest, |
11 | updateWorkspaceRequest, | 11 | updateWorkspaceRequest, |
12 | } from '../api'; | 12 | } from '../api'; |
13 | import WorkspacesStore from '../store'; | ||
13 | 14 | ||
14 | @inject('stores', 'actions') @observer | 15 | @inject('stores', 'actions') @observer |
15 | class WorkspacesScreen extends Component { | 16 | class WorkspacesScreen extends Component { |
16 | static propTypes = { | 17 | static propTypes = { |
17 | actions: PropTypes.shape({ | 18 | actions: PropTypes.shape({ |
18 | workspace: PropTypes.shape({ | 19 | workspaces: PropTypes.instanceOf(WorkspacesStore), |
19 | edit: PropTypes.func.isRequired, | ||
20 | }), | ||
21 | }).isRequired, | 20 | }).isRequired, |
22 | }; | 21 | }; |
23 | 22 | ||