chore: remove persistent warning/error

This commit is contained in:
JovannMC 2025-02-10 19:50:31 +03:00
parent ec209f378b
commit 0ab08c84ae
No known key found for this signature in database
1 changed files with 0 additions and 10 deletions

View File

@ -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,