From 2e25050055c334eed654553a727f20bed14fd800 Mon Sep 17 00:00:00 2001 From: eerosahlberg Date: Fri, 26 Apr 2024 17:27:00 +0300 Subject: [PATCH] Update ItemCard.js --- components/ItemCard.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/components/ItemCard.js b/components/ItemCard.js index 1deea6c..f14a544 100644 --- a/components/ItemCard.js +++ b/components/ItemCard.js @@ -1,4 +1,4 @@ -import { Flex, Box, Image, useColorModeValue, Button, useToast, Circle } from '@chakra-ui/react'; +import { Flex, Box, Image, useColorModeValue, Button, useToast, Circle, AspectRatio } from '@chakra-ui/react'; import Link from 'next/link'; import { useDispatch, useSelector } from 'react-redux'; import { addToCart } from '../redux/cart.slice'; @@ -38,16 +38,16 @@ export default function ItemCard({ item, availableAmount }) { position='relative' _hover={{ shadow: '2xl', transform: 'scale(1.01)', transition: 'all 0.2s', zIndex: 1 }} > - {`Picture + + {`Picture +