tidy(ui): remove extraneous prop extraction

This commit is contained in:
psychedelicious
2024-10-11 20:50:30 +10:00
committed by Mary Hipp Rogers
parent 190ef6732c
commit fa1fbd89fe

View File

@@ -109,8 +109,6 @@ const IAIDndImage = (props: IAIDndImageProps) => {
useThumbailFallback, useThumbailFallback,
withHoverOverlay = false, withHoverOverlay = false,
children, children,
onMouseOver,
onMouseOut,
dataTestId, dataTestId,
...rest ...rest
} = props; } = props;
@@ -134,8 +132,6 @@ const IAIDndImage = (props: IAIDndImageProps) => {
return ( return (
<Flex <Flex
ref={ref} ref={ref}
onMouseOver={onMouseOver}
onMouseOut={onMouseOut}
width="full" width="full"
height="full" height="full"
alignItems="center" alignItems="center"