diff --git a/ui/src/dashboards/containers/DashboardPage.js b/ui/src/dashboards/containers/DashboardPage.js index 849fc5e49f..ae62d2fb94 100644 --- a/ui/src/dashboards/containers/DashboardPage.js +++ b/ui/src/dashboards/containers/DashboardPage.js @@ -1,5 +1,11 @@ -const DashboardPage = React.createClass({ +import React from 'react'; +const DashboardPage = React.createClass({ + render() { + return ( +
+ ); + }, }); export default DashboardPage; diff --git a/ui/src/dashboards/index.js b/ui/src/dashboards/index.js index 13fd48331e..150685d90b 100644 --- a/ui/src/dashboards/index.js +++ b/ui/src/dashboards/index.js @@ -1,2 +1,3 @@ import DashboardsPage from './containers/DashboardsPage'; -export {DashboardsPage}; +import DashboardPage from './containers/DashboardPage'; +export {DashboardsPage, DashboardPage}; diff --git a/ui/src/index.js b/ui/src/index.js index 0a6a2f1e46..bc712d3ad8 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -11,7 +11,7 @@ import {KubernetesPage} from 'src/kubernetes'; import {Login} from 'src/auth'; import {KapacitorPage, KapacitorRulePage, KapacitorRulesPage, KapacitorTasksPage} from 'src/kapacitor'; import DataExplorer from 'src/data_explorer'; -import {DashboardsPage} from 'src/dashboards'; +import {DashboardsPage, DashboardPage} from 'src/dashboards'; import {CreateSource, SourcePage, ManageSources} from 'src/sources'; import NotFound from 'src/shared/components/NotFound'; import configureStore from 'src/store/configureStore'; @@ -106,6 +106,7 @@ const Root = React.createClass({