mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 21:06:58 +00:00
Merge branch 'master' into addTagsToBrewItem-#2317
This commit is contained in:
1 file changed
+1
-1
@@ -72,7 +72,7 @@ const NewPage = createClass({
|
||||
componentDidMount : function() {
|
||||
document.addEventListener('keydown', this.handleControlKeys);
|
||||
|
||||
const brew = this.props.brew;
|
||||
const brew = this.state.brew;
|
||||
|
||||
if(typeof window !== 'undefined') { //Load from localStorage if in client browser
|
||||
const brewStorage = localStorage.getItem(BREWKEY);
|
||||
|
||||
Reference in new issue
Block a user