0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 09:42:43 +00:00

Rename isPending state to more explicit unsavedChanges

This commit is contained in:
Trevor Buckner
2025-07-07 18:48:36 +00:00
parent 9a002511a3
commit 8538e4fadb
2 changed files with 13 additions and 14 deletions

View File

@@ -148,7 +148,6 @@ const NewPage = createClass({
this.setState((prevState)=>({
brew : { ...prevState.brew, snippets: snippet },
isPending : true,
htmlErrors : htmlErrors,
}), ()=>{if(this.state.autoSave) this.trySave();});
},