diff --git a/apps/web/src/utils/toast.tsx b/apps/web/src/utils/toast.tsx index 17eaa765c..923755f52 100644 --- a/apps/web/src/utils/toast.tsx +++ b/apps/web/src/utils/toast.tsx @@ -8,7 +8,7 @@ type ToastType = "success" | "error" | "warn" | "info"; type ToastAction = { text: string; onClick: () => void; - type: "primary" | "text"; + type?: "primary" | "text"; }; function showToast( @@ -73,7 +73,7 @@ function ToastContainer(props: ToastContainerProps) {