mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-12 13:12:46 +00:00
Fixed bug where new page was storing null brews
This commit is contained in:
@@ -30,6 +30,7 @@ const Store = flux.createStore({
|
||||
State.brew = brew;
|
||||
},
|
||||
UPDATE_BREW_TEXT : (brewText) => {
|
||||
console.log(State);
|
||||
State.brew.text = brewText;
|
||||
State.errors = Markdown.validate(brewText);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user