mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-24 22:33:00 +00:00
Add missing lastSavedTime state
This commit is contained in:
@@ -51,6 +51,7 @@ const NewPage = (props)=>{
|
||||
|
||||
const [currentBrew, setCurrentBrew] = useState(props.brew);
|
||||
const [isSaving, setIsSaving] = useState(false);
|
||||
const [lastSavedTime, setLastSavedTime] = useState(new Date());
|
||||
const [saveGoogle, setSaveGoogle] = useState(global.account?.googleId ? true : false);
|
||||
const [error, setError] = useState(null);
|
||||
const [HTMLErrors, setHTMLErrors] = useState(hbfm.validate(props.brew.text));
|
||||
|
||||
Reference in New Issue
Block a user