Fix error boundary styles

This commit is contained in:
jeffvli 2023-01-30 21:34:56 -08:00
parent 4cbc28a087
commit f50ec5cf31

View File

@ -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}
> >