0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 20:12:41 +00:00

Merge branch 'master' of https://github.com/naturalcrit/homebrewery into refactor-brewItem-component

This commit is contained in:
Víctor Losada Hernández
2024-10-23 12:48:01 +02:00
5 changed files with 51 additions and 30 deletions

View File

@@ -228,8 +228,8 @@ const EditPage = createClass({
htmlErrors : Markdown.validate(prevState.brew.text)
}));
await updateHistory(this.state.brew);
await versionHistoryGarbageCollection();
await updateHistory(this.state.brew).catch(console.error);
await versionHistoryGarbageCollection().catch(console.error);
const transfer = this.state.saveGoogle == _.isNil(this.state.brew.googleId);