MediaAttachmentGrid: fix viewer DOM not removed
All checks were successful
/ depoly (push) Successful in 1m5s

This commit is contained in:
thislight 2024-09-14 21:17:03 +08:00
parent 980f8cff7e
commit 2b2cc2000a
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
2 changed files with 17 additions and 13 deletions

View file

@ -323,7 +323,7 @@ const MediaViewer: ParentComponent<MediaViewerProps> = (props) => {
boxShadow: showControls() ? "var(--tutu-shadow-e6)" : undefined,
}}
>
<IconButton onClick={props.onClose}>
<IconButton onClick={props.onClose} disableRipple>
<Close />
</IconButton>
</Toolbar>