Browse Source

+price sign

ilya_shyian 2 years ago
parent
commit
56ef1cebd3

+ 2 - 2
src/components/CartPage/CartItem.js

@@ -52,7 +52,7 @@ export const CartItem = ({ order, onDeleteClick }) => {
             <TableCell>
                 <Box sx={{ flexGrow: 1 }}>
                     <Typography variant="h5">{name}</Typography>
-                    <Typography variant="body1">{price}</Typography>
+                    <Typography variant="body1">{price}</Typography>
                 </Box>
             </TableCell>
             <TableCell>
@@ -69,7 +69,7 @@ export const CartItem = ({ order, onDeleteClick }) => {
             <TableCell>
                 <Stack justifyContent="center">
                     <Typography variant="body1" textAlign="center">
-                        {price * count}
+                        {price * count}
                     </Typography>
                 </Stack>
             </TableCell>

+ 1 - 1
src/components/GoodPage/index.js

@@ -24,7 +24,7 @@ export const GoodPage = () => {
                     <Stack spacing={2}>
                         <Stack direction="row" alignItems="center" spacing={2}>
                             <Typography variant="body1" color="#1C1B1F">
-                                <b>Ціна:</b> {price}
+                                <b>Ціна:</b> {price}
                             </Typography>
                             <CBuyButton good={good} />
                         </Stack>

+ 1 - 1
src/components/common/DrawerCart/DrawerCartItem.js

@@ -43,7 +43,7 @@ const DrawerCartItem = ({ order, onDeleteClick }) => {
                         {name}
                     </Typography>
                     <Typography variant="subtitle1" color="text.secondary" component="div">
-                        {price}
+                        {price
                     </Typography>
                 </CardContent>
                 <Box className="buttons">

+ 1 - 1
src/components/common/GoodCard/index.js

@@ -19,7 +19,7 @@ const GoodCard = ({ good = {} }) => {
                         Назва: {good.name?.length > 10 ? `${good.name.slice(0, 10)}...` : good.name}
                     </Typography>
                     <Typography variant="body2" color="text.secondary" textAlign="left">
-                        Ціна: {good.price}
+                        Ціна: {good.price}
                     </Typography>
                 </CardContent>
             </CardActionArea>

+ 1 - 1
src/components/common/SearchBar/SearchGoodResultItem.js

@@ -29,7 +29,7 @@ const SearchGoodResultItem = ({ good, onClick, link = '' } = {}) => {
                 </Box>
             </Grid>
             <Grid item xs={3} sx={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-end' }}>
-                <Typography variant="body1">{price}</Typography>
+                <Typography variant="body1">{price}</Typography>
             </Grid>
         </Grid>
     );