mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Fix error boundary styles
This commit is contained in:
@@ -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}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user