mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-20 15:41:30 +00:00
ESLint reformatting
This commit is contained in:
@@ -62,7 +62,7 @@ const EditPage = createClass({
|
||||
}
|
||||
};
|
||||
|
||||
this.setState((prevState) => ({
|
||||
this.setState((prevState)=>({
|
||||
htmlErrors : Markdown.validate(prevState.brew.text)
|
||||
}));
|
||||
|
||||
@@ -128,7 +128,7 @@ const EditPage = createClass({
|
||||
save : function(){
|
||||
if(this.debounceSave && this.debounceSave.cancel) this.debounceSave.cancel();
|
||||
|
||||
this.setState((prevState) => ({
|
||||
this.setState((prevState)=>({
|
||||
isSaving : true,
|
||||
errors : null,
|
||||
htmlErrors : Markdown.validate(prevState.brew.text)
|
||||
|
||||
@@ -22,8 +22,8 @@ const PrintPage = createClass({
|
||||
|
||||
componentDidMount : function() {
|
||||
if(this.props.query.local){
|
||||
this.setState((prevState, prevProps) => ({
|
||||
brewText: localStorage.getItem(prevProps.query.local)
|
||||
this.setState((prevState, prevProps)=>({
|
||||
brewText : localStorage.getItem(prevProps.query.local)
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user