diff options
author | 2022-07-19 12:52:31 +0100 | |
---|---|---|
committer | 2022-07-19 12:52:31 +0100 | |
commit | 3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165 (patch) | |
tree | 6b414b9ef3be7656da1717b0d6def62e95d1fb90 /src/features/workspaces/components | |
parent | fix: remove autoHibernate (diff) | |
download | ferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.tar.gz ferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.tar.zst ferdium-app-3bb1ca7825a0381ddd8dbe7f44f7dcf4a788b165.zip |
Feature: Add Release Notes (#491)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Co-authored-by: Ricardo Cino <ricardo@cino.io>
Diffstat (limited to 'src/features/workspaces/components')
-rw-r--r-- | src/features/workspaces/components/WorkspaceItem.tsx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/features/workspaces/components/WorkspaceItem.tsx b/src/features/workspaces/components/WorkspaceItem.tsx index f46375c7a..eb33a0376 100644 --- a/src/features/workspaces/components/WorkspaceItem.tsx +++ b/src/features/workspaces/components/WorkspaceItem.tsx | |||
@@ -1,8 +1,6 @@ | |||
1 | import { Component } from 'react'; | 1 | import { Component } from 'react'; |
2 | import PropTypes from 'prop-types'; | ||
3 | import { observer } from 'mobx-react'; | 2 | import { observer } from 'mobx-react'; |
4 | import injectSheet from 'react-jss'; | 3 | import injectSheet from 'react-jss'; |
5 | |||
6 | import Workspace from '../models/Workspace'; | 4 | import Workspace from '../models/Workspace'; |
7 | 5 | ||
8 | const styles = theme => ({ | 6 | const styles = theme => ({ |
@@ -18,17 +16,11 @@ const styles = theme => ({ | |||
18 | 16 | ||
19 | type Props = { | 17 | type Props = { |
20 | classes: any; | 18 | classes: any; |
21 | workspace: any; | 19 | workspace: typeof Workspace; |
22 | onItemClick: (workspace) => void; | 20 | onItemClick: (workspace) => void; |
23 | }; | 21 | }; |
24 | 22 | ||
25 | class WorkspaceItem extends Component<Props> { | 23 | class WorkspaceItem extends Component<Props> { |
26 | static propTypes = { | ||
27 | classes: PropTypes.object.isRequired, | ||
28 | workspace: PropTypes.instanceOf(Workspace).isRequired, | ||
29 | onItemClick: PropTypes.func.isRequired, | ||
30 | }; | ||
31 | |||
32 | render() { | 24 | render() { |
33 | const { classes, workspace, onItemClick } = this.props; | 25 | const { classes, workspace, onItemClick } = this.props; |
34 | 26 | ||