chore(frontend): toasts lose the success kind nobody calls anymore
This commit is contained in:
1 parent
bca0b34636
commit
977dee3cb2
2 files changed
+1
-8
No files matched your search
@@ -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");
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user