mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Restore autosave warning to 15 minutes
This commit is contained in:
@@ -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 = () => (
|
||||
|
||||
Reference in New Issue
Block a user