chore(frontend): toasts lose the success kind nobody calls anymore

This commit is contained in:
hh committed 2026-10-19 06:07:54 +00:00
1 parent bca0b34636
commit 977dee3cb2
2 files changed
+1 -8

No files matched your search

@@ -49,9 +49,5 @@
&.error {
background-color: var(--color-error);
}
&.success {
background-color: var(--color-green);
}
}
</style>
+1 -4
View File
@@ -1,4 +1,4 @@
type ToastType = "info" | "error" | "success";
type ToastType = "info" | "error";
interface Toast {
id: number;
@@ -39,9 +39,6 @@ function createToasts() {
return items;
},
show,
success(message: string) {
return show(message, "success");
},
};
}