remove unused props passed to SourceForm

pull/10616/head
Jade McGough 2017-04-04 12:31:57 -07:00
parent 82749ede61
commit 409e5fdd94
1 changed files with 1 additions and 4 deletions

View File

@ -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 <div className="page-spinner"></div>
@ -127,9 +127,6 @@ export const SourcePage = React.createClass({
<div className="row">
<div className="col-md-8 col-md-offset-2">
<SourceForm
sourceID={params.sourceID}
router={router}
location={location}
source={source}
editMode={editMode}
addFlashMessage={addFlashMessage}