Skip to content

Commit

Permalink
turn off optimization for DAO images
Browse files Browse the repository at this point in the history
  • Loading branch information
neokry committed Nov 27, 2023
1 parent ae889ae commit 29831eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/modules/auction/components/AuctionImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const AuctionImage = ({ image, name }: AucitonImageProps) => {
>
<Image
priority
unoptimized
layout="fill"
src={imgErr ? '/ImageError.svg' : image || ''}
onError={() => setImgErr(true)}
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/modules/dao/components/DaoCard/DaoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const DaoCard = ({
{!!tokenImage ? (
<Image
priority
unoptimized
layout="fill"
src={!imgErr ? getFetchableUrl(tokenImage) || '' : '/ImageError.svg'}
onError={() => setImgErr(true)}
Expand Down

0 comments on commit 29831eb

Please sign in to comment.