feat(toasts): add 'warning' type to showToast function and default to info

This commit is contained in:
Viren070
2025-06-16 00:48:08 +01:00
parent ae4db2bb62
commit a815f25503
+1 -1
View File
@@ -4,7 +4,7 @@ import styles from "./styles.module.css";
// Singleton showToast function
export const showToast = (
message: string,
type: "info" | "error" | "success",
type: "info" | "error" | "success" | "warning" = "info",
toastId?: string
) => {
toast(message, {