fix: route errors should no longer use json
This commit is contained in:
parent
5ae6e60db9
commit
e8059ca6fd
@ -81,7 +81,7 @@ export function ErrorPopup({ type = 'full' }: Props) {
|
||||
<Card.Text
|
||||
className={cn('mt-4 text-lg', routing ? 'font-normal' : 'font-mono')}
|
||||
>
|
||||
{routing ? error.data.message : message}
|
||||
{routing ? error.data : message}
|
||||
</Card.Text>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user