test commit

This commit is contained in:
Kirill
2026-05-19 09:00:26 +05:00
parent 0ee9e76a30
commit 9999b28d49
9 changed files with 249 additions and 68 deletions
@@ -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}>