From 656cb74755164279ebd0dc785dabd732a0a2e357 Mon Sep 17 00:00:00 2001 From: Burhanuddin Khatri Date: Wed, 31 Jul 2024 05:32:49 +0500 Subject: [PATCH] potentially fixes the deployment issue --- components/ProductCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ProductCard.tsx b/components/ProductCard.tsx index 654e340..68262e9 100644 --- a/components/ProductCard.tsx +++ b/components/ProductCard.tsx @@ -28,7 +28,7 @@ const ProductCard: React.FC = ({ product, onUpdate }) => { React.createElement( CardContent, { sx: { flexGrow: 1, display: 'flex', flexDirection: 'column', justifyContent: 'space-between' } }, - React.createElement(Typography, { variant: "h6", component: "div", gutterBottom: true }, product.name), + React.createElement(Typography, { variant: "h6", gutterBottom: true }, product.name), React.createElement( Box, { sx: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', mt: 2 } },