From 2a0d7962b156671134f924f7154ec7ea011447f2 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Wed, 8 Jun 2022 19:15:32 +0530 Subject: [PATCH] return empty fragment instead of dialog --- src/components/DialogBox/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/DialogBox/index.tsx b/src/components/DialogBox/index.tsx index b0d4e60be..a3e98d54b 100644 --- a/src/components/DialogBox/index.tsx +++ b/src/components/DialogBox/index.tsx @@ -3,7 +3,6 @@ import constants from 'utils/strings/constants'; import { Breakpoint, Button, - Dialog, DialogActions, DialogContent, DialogProps, @@ -32,7 +31,7 @@ export default function DialogBox({ ...props }: IProps) { if (!attributes) { - return ; + return <>; } const handleClose = dialogCloseHandler({