0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 19:02:38 +00:00
This commit is contained in:
Víctor Losada Hernández
2024-09-17 19:55:50 +02:00
parent 30e042635c
commit 61d77b4d2d

View File

@@ -68,9 +68,12 @@ const Snippetbar = createClass({
}); });
}; };
this.setState({ if(historyExists(this.props.brew) != this.state.historyExists){
historyExists : historyExists(this.props.brew) this.setState({
}); historyExists : !this.state.historyExists
});
};
}, },
mergeCustomizer : function(oldValue, newValue, key) { mergeCustomizer : function(oldValue, newValue, key) {