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 {
Breakpoint,
Button,
Dialog,
DialogActions,
DialogContent,
DialogProps,
@ -32,7 +31,7 @@ export default function DialogBox({
...props
}: IProps) {
if (!attributes) {
return <Dialog open={false} />;
return <></>;
}
const handleClose = dialogCloseHandler({