0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 21:02:43 +00:00

Merge pull request #3733 from naturalcrit/fix-history-state-snippetbar-error

fix
This commit is contained in:
Trevor Buckner
2024-09-17 15:33:57 -04:00
committed by GitHub

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) {