aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/settings/WorkspacesScreen.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/settings/WorkspacesScreen.js')
-rw-r--r--src/containers/settings/WorkspacesScreen.js29
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 @@
1import React, { Component } from 'react';
2import { observer } from 'mobx-react';
3import { gaPage } from '../../lib/analytics';
4import { state } from '../../features/workspaces/state';
5
6import WorkspacesDashboard from '../../components/settings/workspaces/WorkspacesDashboard';
7import ErrorBoundary from '../../components/util/ErrorBoundary';
8
9@observer
10class 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
29export default WorkspacesScreen;