Skip to content

Commit

Permalink
♻️ refactor: decodingの値をautoに修正
Browse files Browse the repository at this point in the history
  • Loading branch information
takashi0602 committed Oct 18, 2023
1 parent 464f9a1 commit 797f9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/base/Image/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const Image: FC<Props> = ({ sources, alt, className, isLazy, height, width }) =>
<img
alt={alt}
className={className}
decoding="async"
decoding="auto"
height={sourceForImgElement.isDesktop === true ? height.desktop : height.mobile}
loading={isLazy ? 'lazy' : 'eager'}
src={sourceForImgElement.srcset}
Expand Down

0 comments on commit 797f9f3

Please sign in to comment.