diff options
Diffstat (limited to 'src/containers/settings/WorkspacesScreen.js')
-rw-r--r-- | src/containers/settings/WorkspacesScreen.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/containers/settings/WorkspacesScreen.js b/src/containers/settings/WorkspacesScreen.js new file mode 100644 index 000000000..e767fdfbe --- /dev/null +++ b/src/containers/settings/WorkspacesScreen.js | |||
@@ -0,0 +1,29 @@ | |||
1 | import React, { Component } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | ||
3 | import { gaPage } from '../../lib/analytics'; | ||
4 | import { state } from '../../features/workspaces/state'; | ||
5 | |||
6 | import WorkspacesDashboard from '../../components/settings/workspaces/WorkspacesDashboard'; | ||
7 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | ||
8 | |||
9 | @observer | ||
10 | class WorkspacesScreen extends Component { | ||
11 | static propTypes = {}; | ||
12 | |||
13 | componentDidMount() { | ||
14 | gaPage('Settings/Workspaces Dashboard'); | ||
15 | } | ||
16 | |||
17 | render() { | ||
18 | return ( | ||
19 | <ErrorBoundary> | ||
20 | <WorkspacesDashboard | ||
21 | workspaces={state.workspaces} | ||
22 | isLoading={state.isLoading} | ||
23 | /> | ||
24 | </ErrorBoundary> | ||
25 | ); | ||
26 | } | ||
27 | } | ||
28 | |||
29 | export default WorkspacesScreen; | ||