From f17ffcca7372327a75f5eb0599271766dcf181da Mon Sep 17 00:00:00 2001 From: pmakode-akamai Date: Wed, 4 Sep 2024 00:52:17 +0530 Subject: [PATCH] few fixes on asyncToasts.tsx --- packages/manager/src/features/Events/asyncToasts.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/manager/src/features/Events/asyncToasts.tsx b/packages/manager/src/features/Events/asyncToasts.tsx index 8e7bd13f30b..5c3cdc9553e 100644 --- a/packages/manager/src/features/Events/asyncToasts.tsx +++ b/packages/manager/src/features/Events/asyncToasts.tsx @@ -43,10 +43,10 @@ export const createToast = (options: ToastOptions) => { return { message, - ...(option.invertVariant != undefined && { + ...(option.invertVariant !== undefined && { invertVariant: option.invertVariant, }), - ...(option.persist != undefined && { persist: option.persist }), + ...(option.persist !== undefined && { persist: option.persist }), }; };