Skip to content

Commit

Permalink
Fix checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
lhvy committed Jun 23, 2024
1 parent 2e349f9 commit efba866
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions components/cart/clothingItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ const ClothingItem = ({
addToCart,
removeFromCart,
}: ClothingItemProps) => {
item.product.images[0] = item.product.images[0].replace(
"https%3A//www.coopsoc.com.au",
"",
);
item.product.images[0] = item.product.images[0]
.replace("https%3A//www.coopsoc.com.au", "")
.replace(".png", ".jpg");
return (
<Row className={"mb-5 " + styles["clothingItem"]}>
<Col
Expand Down

0 comments on commit efba866

Please sign in to comment.