Skip to content

Commit

Permalink
Merge pull request #24 from ethanniser/cart-cached-image
Browse files Browse the repository at this point in the history
used pdp image in cart as it should be cached
  • Loading branch information
ethanniser authored Oct 21, 2024
2 parents 68b11e5 + 7e47c3e commit 80ed3c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/order/dynamic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ function CartItem({ product }: { product: CartItem }) {
decoding="sync"
src={product.image_url ?? "/placeholder.svg"}
alt="Product"
width={80}
height={80}
quality={65}
width={256}
height={256}
quality={80}
/>
</div>
<div className="max-w-[100px] flex-grow sm:max-w-full">
Expand Down

0 comments on commit 80ed3c0

Please sign in to comment.