mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
Add undefined check to error message
- In some cases you can get an irrecoverable UI due to this being undefined
This commit is contained in:
@@ -23,7 +23,7 @@ export const ErrorFallback = ({ resetErrorBoundary }: FallbackProps) => {
|
||||
/>
|
||||
<Text size="lg">Something went wrong</Text>
|
||||
</Group>
|
||||
<Text>{error.message}</Text>
|
||||
<Text>{error?.message}</Text>
|
||||
<Button
|
||||
variant="filled"
|
||||
onClick={resetErrorBoundary}
|
||||
|
||||
Reference in New Issue
Block a user