fix: closeButton not work

This commit is contained in:
JimmFly
2023-02-01 10:37:30 +08:00
parent 720aa6e6b0
commit 20ffbe348a
@@ -28,7 +28,7 @@ export const ModalCloseButton = ({
<CloseIcon /> <CloseIcon />
</StyledIconButton> </StyledIconButton>
) : ( ) : (
<IconButton> <IconButton {...props}>
<CloseIcon /> <CloseIcon />
</IconButton> </IconButton>
); );