mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-16 06:02:41 +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;
|
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