0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-18 20:53:24 +00:00

Merge branch 'master' into SwappableThemes-ReorganizeFolderStructure

This commit is contained in:
Trevor Buckner
2022-09-03 01:38:59 -04:00
4 changed files with 94 additions and 12 deletions

View File

@@ -75,7 +75,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);