test commit
This commit is contained in:
@@ -53,7 +53,15 @@ export function ReviewsBlock() {
|
||||
)}
|
||||
{q.isError && <Alert severity="error">Не удалось загрузить отзывы.</Alert>}
|
||||
{!q.isLoading && !q.isError && q.data && items.length === 0 && (
|
||||
<Typography color="text.secondary">Пока нет опубликованных отзывов о товарах.</Typography>
|
||||
<Box sx={{ textAlign: 'center', py: 4 }}>
|
||||
<Typography variant="h6" color="text.secondary" sx={{ mb: 2 }}>
|
||||
Отзывов пока нет
|
||||
</Typography>
|
||||
<Typography variant="body2" color="text.secondary" sx={{ maxWidth: 400 }}>
|
||||
Будьте первым, кто оставит отзыв о наших товарах. Ваше мнение поможет другим покупателям сделать правильный
|
||||
выбор.
|
||||
</Typography>
|
||||
</Box>
|
||||
)}
|
||||
{items.length > 0 && (
|
||||
<Stack spacing={2}>
|
||||
|
||||
Reference in New Issue
Block a user