From 95b0c5f1ad883a9908bf8ea5701bedd7bc752585 Mon Sep 17 00:00:00 2001 From: Eden Kirin Date: Thu, 18 Jan 2024 13:17:45 +0100 Subject: [PATCH] FE tweaks --- frontend/public/index.html | 41 +++++--------------------- frontend/src/components/ProductCard.js | 2 +- 2 files changed, 9 insertions(+), 34 deletions(-) diff --git a/frontend/public/index.html b/frontend/public/index.html index aa069f2..6dfef82 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -1,43 +1,18 @@ - + + - - - - - - React App - - +
- - - + \ No newline at end of file diff --git a/frontend/src/components/ProductCard.js b/frontend/src/components/ProductCard.js index b8d7958..45846c4 100644 --- a/frontend/src/components/ProductCard.js +++ b/frontend/src/components/ProductCard.js @@ -7,7 +7,7 @@ import { CardActionArea } from "@mui/material"; import { PRODUCT_IMAGE_DIR } from "../const"; function ProductCard({ product }) { - const productImg = `${PRODUCT_IMAGE_DIR}/${product.image}`; + const productImg = `${PRODUCT_IMAGE_DIR}${product.image}`; return (