0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Restore autosave warning to 15 minutes

This commit is contained in:
Trevor Buckner
2025-09-09 20:47:09 -04:00
parent 8706f91b58
commit 6f2c397574

View File

@@ -330,7 +330,7 @@ const EditPage = (props) => {
const resetAutoSaveWarning = () => {
setTimeout(()=>setAutoSaveWarning(false), 4000); // Hide the warning after 4 seconds
warningTimer.current = setTimeout(()=>setAutoSaveWarning(true), 3000); // 15 minutes between unsaved changes warnings
warningTimer.current = setTimeout(()=>setAutoSaveWarning(true), 90000); // 15 minutes between unsaved changes warnings
};
const renderAutoSaveButton = () => (