From 8d7eb78c4ade1546dc0f72b04971e2f423dc2df2 Mon Sep 17 00:00:00 2001 From: AishDani Date: Fri, 12 Jul 2024 12:33:29 +0530 Subject: [PATCH] refactor:close modal prop added --- ui/src/components/Common/NotificationModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/Common/NotificationModal/index.tsx b/ui/src/components/Common/NotificationModal/index.tsx index 94ab2c95..8467cd79 100644 --- a/ui/src/components/Common/NotificationModal/index.tsx +++ b/ui/src/components/Common/NotificationModal/index.tsx @@ -17,7 +17,7 @@ interface Props { const NotificationModal = (props:Props) => { return( <> - + {props?.closeModal(),props.isopen(false)}} className="text-capitalize" />