chore(frontend): close dialog in close button too

This commit is contained in:
Leandro Antônio Farias Machado 2023-06-08 11:33:27 -03:00
parent b7ed87c5af
commit b5025ec878

View File

@ -238,7 +238,15 @@ const handleOpen = () => {
<Box flexGrow={1} >Response</Box>
<Box>
<IconButton >
<SvgIcon><XMarkIcon /></SvgIcon>
<SvgIcon
onClick={()=>{
setAnswer(false);
handleClose;
//setContent("");
}}
>
<XMarkIcon />
</SvgIcon>
</IconButton>
</Box>
</Box>