diff --git a/src/components/Image/Image.tsx b/src/components/Image/Image.tsx index 17b2eda07..89f73f264 100644 --- a/src/components/Image/Image.tsx +++ b/src/components/Image/Image.tsx @@ -57,7 +57,6 @@ const Image = (props: ImageProps) => { onClick, containerClassName, qa, - ...rest } = props; const [imgLoadingError, setImgLoadingError] = useState(false); @@ -114,7 +113,6 @@ const Image = (props: ImageProps) => { style={style} onClick={onClick} onError={() => setImgLoadingError(true)} - {...rest} /> );