mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
Fix error boundary styles
This commit is contained in:
parent
4cbc28a087
commit
f50ec5cf31
@ -41,9 +41,13 @@ const RouteErrorBoundary = () => {
|
||||
</Group>
|
||||
<Divider my={5} />
|
||||
<Text size="sm">{error?.message}</Text>
|
||||
<Group grow>
|
||||
<Group
|
||||
grow
|
||||
spacing="sm"
|
||||
>
|
||||
<Button
|
||||
leftIcon={<RiHome4Line />}
|
||||
size="md"
|
||||
sx={{ flex: 0.5 }}
|
||||
variant="default"
|
||||
onClick={handleHome}
|
||||
@ -51,6 +55,7 @@ const RouteErrorBoundary = () => {
|
||||
Go home
|
||||
</Button>
|
||||
<Button
|
||||
size="md"
|
||||
variant="filled"
|
||||
onClick={handleReload}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user