Compare commits

...

1 Commits

Author SHA1 Message Date
ruinivist 2c88ac7972 fix: show autosave failures 2026-06-20 09:59:38 +00:00
+4
View File
@@ -231,6 +231,8 @@ export function useDrawingSession() {
} }
if (isManual) { if (isManual) {
showToast("Saved", 2000); showToast("Saved", 2000);
} else {
showToast(null);
} }
}) })
.catch((saveError: unknown) => { .catch((saveError: unknown) => {
@@ -251,6 +253,8 @@ export function useDrawingSession() {
); );
if (isManual) { if (isManual) {
showToast("Save failed", 2000); showToast("Save failed", 2000);
} else {
showToast("Autosave failed");
} }
throw saveError; throw saveError;
}) })