feat: convert link to button (#14)
This commit is contained in:
parent
1c8348dee5
commit
dedc7e1608
@ -19,17 +19,25 @@ const Sidebar = () => (
|
|||||||
|
|
||||||
<VStack align='start' spacing='4'>
|
<VStack align='start' spacing='4'>
|
||||||
<Divider />
|
<Divider />
|
||||||
<Link to='orders'>
|
<Button
|
||||||
<Button w='100%' colorScheme='green' variant='ghost'>
|
as={Link}
|
||||||
{i18next.t(`dry-wash.arm.master.sideBar.title.orders`)}
|
to='orders'
|
||||||
</Button>
|
w='100%'
|
||||||
</Link>
|
colorScheme='green'
|
||||||
|
variant='ghost'
|
||||||
|
>
|
||||||
|
{i18next.t(`dry-wash.arm.master.sideBar.title.orders`)}
|
||||||
|
</Button>
|
||||||
<Divider />
|
<Divider />
|
||||||
<Link to='masters'>
|
<Button
|
||||||
<Button w='100%' colorScheme='green' variant='ghost'>
|
as={Link}
|
||||||
{i18next.t(`dry-wash.arm.master.sideBar.title.master`)}
|
to='masters'
|
||||||
</Button>
|
w='100%'
|
||||||
</Link>
|
colorScheme='green'
|
||||||
|
variant='ghost'
|
||||||
|
>
|
||||||
|
{i18next.t(`dry-wash.arm.master.sideBar.title.master`)}
|
||||||
|
</Button>
|
||||||
<Divider />
|
<Divider />
|
||||||
</VStack>
|
</VStack>
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
Reference in New Issue
Block a user