mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: nit
This commit is contained in:
@@ -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();
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user