Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

chore: remove persistent warning/error

JovannMC0ab08c84aeae
diff --git a/src/lib/store/ToastProvider.ts b/src/lib/store/ToastProvider.ts
index c84f7c8..f696266 100644
--- a/src/lib/store/ToastProvider.ts
+++ b/src/lib/store/ToastProvider.ts
@@ -32,16 +32,6 @@ function addToast(
exit: 500,
};
- // if "disappearing" not set, default error/warning to infinite duration
- if (disappearing === undefined) {
- switch (type) {
- case "error":
- case "warning":
- durations.stay = 86400000; // 24h cause why not
- break;
- }
- }
-
const newToast: Toast = {
id,
type,