return empty fragment instead of dialog
This commit is contained in:
parent
08480433b8
commit
2a0d7962b1
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue