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:
parent
f74e02eb09
commit
34f05fa2a5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue