0
0
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:
Scott Tolksdorf
2017-01-11 20:27:23 -08:00
parent c470bed591
commit 97c0443c76

View File

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