fix(ui): replace raw AxiosError dumps with QueryErrorState across routes
This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user