|
@@ -40,7 +40,7 @@ const DrawerCartItem = ({ order, onDeleteClick }) => {
|
|
<Box sx={{ display: 'flex', width: '100%' }}>
|
|
<Box sx={{ display: 'flex', width: '100%' }}>
|
|
<CardContent className="content">
|
|
<CardContent className="content">
|
|
<Typography component="div" variant="h5">
|
|
<Typography component="div" variant="h5">
|
|
- {name}
|
|
|
|
|
|
+ {name.length > 20 ? `${name.slice(0, 20)}...` : name}
|
|
</Typography>
|
|
</Typography>
|
|
<Typography variant="subtitle1" color="text.secondary" component="div">
|
|
<Typography variant="subtitle1" color="text.secondary" component="div">
|
|
{price} ₴
|
|
{price} ₴
|