Skip to content

Commit

Permalink
fix: remove rest operator (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyzyl-ool authored Nov 8, 2023
1 parent edeb9a2 commit 36d3e59
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Image/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const Image = (props: ImageProps) => {
onClick,
containerClassName,
qa,
...rest
} = props;
const [imgLoadingError, setImgLoadingError] = useState(false);

Expand Down Expand Up @@ -114,7 +113,6 @@ const Image = (props: ImageProps) => {
style={style}
onClick={onClick}
onError={() => setImgLoadingError(true)}
{...rest}
/>
</picture>
);
Expand Down

0 comments on commit 36d3e59

Please sign in to comment.