return empty fragment instead of dialog

This commit is contained in:
Abhinav 2022-06-08 19:15:32 +05:30
parent 08480433b8
commit 2a0d7962b1

View file

@ -3,7 +3,6 @@ import constants from 'utils/strings/constants';
import { import {
Breakpoint, Breakpoint,
Button, Button,
Dialog,
DialogActions, DialogActions,
DialogContent, DialogContent,
DialogProps, DialogProps,
@ -32,7 +31,7 @@ export default function DialogBox({
...props ...props
}: IProps) { }: IProps) {
if (!attributes) { if (!attributes) {
return <Dialog open={false} />; return <></>;
} }
const handleClose = dialogCloseHandler({ const handleClose = dialogCloseHandler({