Skip to content

Commit 36d3e59

Browse files
authored
fix: remove rest operator (#680)
1 parent edeb9a2 commit 36d3e59

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/Image/Image.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const Image = (props: ImageProps) => {
5757
onClick,
5858
containerClassName,
5959
qa,
60-
...rest
6160
} = props;
6261
const [imgLoadingError, setImgLoadingError] = useState(false);
6362

@@ -114,7 +113,6 @@ const Image = (props: ImageProps) => {
114113
style={style}
115114
onClick={onClick}
116115
onError={() => setImgLoadingError(true)}
117-
{...rest}
118116
/>
119117
</picture>
120118
);

0 commit comments

Comments
 (0)