fix: route errors should no longer use json
This commit is contained in:
parent
169a7b14d0
commit
1a2b1ad3f2
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ export function ErrorPopup({ type = 'full' }: Props) {
|
||||||
<Card.Text
|
<Card.Text
|
||||||
className={cn('mt-4 text-lg', routing ? 'font-normal' : 'font-mono')}
|
className={cn('mt-4 text-lg', routing ? 'font-normal' : 'font-mono')}
|
||||||
>
|
>
|
||||||
{routing ? error.data.message : message}
|
{routing ? error.data : message}
|
||||||
</Card.Text>
|
</Card.Text>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue