fix(ui): replace raw AxiosError dumps with QueryErrorState across routes

This commit is contained in:
Александр Зимин
2026-05-14 20:42:45 +00:00
parent 1a5049aac4
commit 9e6ddd1bce
5 changed files with 34 additions and 39 deletions
+1 -3
View File
@@ -715,9 +715,7 @@ function ReviewDrawer({ draftId, onClose }: DrawerProps) {
<div className="space-y-4">
{draftQ.isLoading && <LoadingBlock size="md" label={t('loading')} />}
{draftQ.error && (
<Alert variant="error" title={t('error.failed')}>
{String(draftQ.error)}
</Alert>
<QueryErrorState error={draftQ.error} onRetry={() => draftQ.refetch()} />
)}
{draft && (