mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: nit
This commit is contained in:
parent
78b217c2f7
commit
5af9de5b19
@ -103,8 +103,8 @@ const AttachmentThumbnail: FC<AttachmentThumbnailProps> = ({
|
||||
color="inherit"
|
||||
variant="contained"
|
||||
startIcon={<ClearIcon />}
|
||||
onClick={async (e) => {
|
||||
onChange && onChange(null);
|
||||
onClick={(e) => {
|
||||
onChange?.(null);
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user