mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-17 18:52:40 +00:00
Include snippets in the restoration.
This commit is contained in:
@@ -188,8 +188,9 @@ const EditPage = createClass({
|
|||||||
this.setState((prevState)=>({
|
this.setState((prevState)=>({
|
||||||
brew : {
|
brew : {
|
||||||
...prevState.brew,
|
...prevState.brew,
|
||||||
style : newData.style,
|
style : newData.style,
|
||||||
text : newData.text
|
text : newData.text,
|
||||||
|
snippets : newData.snippets
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user