-
-
Dashboards
-
-
-
-
+const DashboardsHeader = () =>
+
+
- )
-}
-
-const {string} = PropTypes
-
-DashboardsHeader.propTypes = {
- sourceName: string.isRequired,
-}
+
export default DashboardsHeader
diff --git a/ui/src/data_explorer/containers/Header.js b/ui/src/data_explorer/containers/Header.js
index 32cd0e0bff..cbf79fc4f1 100644
--- a/ui/src/data_explorer/containers/Header.js
+++ b/ui/src/data_explorer/containers/Header.js
@@ -22,12 +22,6 @@ const Header = React.createClass({
}).isRequired,
},
- contextTypes: {
- source: shape({
- name: string,
- }),
- },
-
handleChooseTimeRange(bounds) {
this.props.actions.setTimeRange(bounds)
},
@@ -48,7 +42,7 @@ const Header = React.createClass({