From 7e9c12e07329f3d7a8d1f71ce40c9bbcfbf7d610 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Tue, 7 Jun 2022 06:53:45 +0500 Subject: [PATCH] fix: toast action button has transparent text --- apps/web/src/utils/toast.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {