0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 00:52:48 +00:00

EditPage: Remove stale bit of React state

This commit is contained in:
Rae Che
2018-05-27 14:06:36 +01:00
committed by Trevor Buckner
parent 9e8e403195
commit 796df9a1ac

View File

@@ -49,7 +49,6 @@ const EditPage = createClass({
isPending : false,
errors : null,
htmlErrors : Markdown.validate(this.props.brew.text),
lastUpdated : this.props.brew.updatedAt
};
},
savedBrew : null,
@@ -147,7 +146,6 @@ const EditPage = createClass({
this.setState({
isPending : false,
isSaving : false,
lastUpdated : res.body.updatedAt
});
}
});