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>
|
</Group>
|
||||||
<Divider my={5} />
|
<Divider my={5} />
|
||||||
<Text size="sm">{error?.message}</Text>
|
<Text size="sm">{error?.message}</Text>
|
||||||
<Group grow>
|
<Group
|
||||||
|
grow
|
||||||
|
spacing="sm"
|
||||||
|
>
|
||||||
<Button
|
<Button
|
||||||
leftIcon={<RiHome4Line />}
|
leftIcon={<RiHome4Line />}
|
||||||
|
size="md"
|
||||||
sx={{ flex: 0.5 }}
|
sx={{ flex: 0.5 }}
|
||||||
variant="default"
|
variant="default"
|
||||||
onClick={handleHome}
|
onClick={handleHome}
|
||||||
@ -51,6 +55,7 @@ const RouteErrorBoundary = () => {
|
|||||||
Go home
|
Go home
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
|
size="md"
|
||||||
variant="filled"
|
variant="filled"
|
||||||
onClick={handleReload}
|
onClick={handleReload}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user