diff --git a/ui/src/sources/containers/SourcePage.js b/ui/src/sources/containers/SourcePage.js index 0bfc5eaa1f..304303cf35 100644 --- a/ui/src/sources/containers/SourcePage.js +++ b/ui/src/sources/containers/SourcePage.js @@ -105,7 +105,7 @@ export const SourcePage = React.createClass({ render() { const {source, editMode} = this.state - const {addFlashMessage, router, location, params} = this.props + const {addFlashMessage} = this.props if (editMode && !source.id) { return
@@ -127,9 +127,6 @@ export const SourcePage = React.createClass({