mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 20:56:54 +00:00
Fixed bug where new page was storing null brews
This commit is contained in:
1 parent
c470bed591
commit
97c0443c76
1 file changed
+1
@@ -30,6 +30,7 @@ const Store = flux.createStore({
|
|||||||
State.brew = brew;
|
State.brew = brew;
|
||||||
},
|
},
|
||||||
UPDATE_BREW_TEXT : (brewText) => {
|
UPDATE_BREW_TEXT : (brewText) => {
|
||||||
|
console.log(State);
|
||||||
State.brew.text = brewText;
|
State.brew.text = brewText;
|
||||||
State.errors = Markdown.validate(brewText);
|
State.errors = Markdown.validate(brewText);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user