diff --git a/app/soapbox/features/edit-profile/components/header-picker.tsx b/app/soapbox/features/edit-profile/components/header-picker.tsx index bb3b72054..8339f95ff 100644 --- a/app/soapbox/features/edit-profile/components/header-picker.tsx +++ b/app/soapbox/features/edit-profile/components/header-picker.tsx @@ -19,6 +19,12 @@ interface IMediaInput { const HeaderPicker = React.forwardRef(({ src, onChange, onClear, accept, disabled }, ref) => { const intl = useIntl(); + const handleClear: React.MouseEventHandler = (e) => { + e.stopPropagation(); + + onClear!(); + }; + return (