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'>
|
||||
<Divider />
|
||||
<Link to='orders'>
|
||||
<Button w='100%' colorScheme='green' variant='ghost'>
|
||||
<Button
|
||||
as={Link}
|
||||
to='orders'
|
||||
w='100%'
|
||||
colorScheme='green'
|
||||
variant='ghost'
|
||||
>
|
||||
{i18next.t(`dry-wash.arm.master.sideBar.title.orders`)}
|
||||
</Button>
|
||||
</Link>
|
||||
<Divider />
|
||||
<Link to='masters'>
|
||||
<Button w='100%' colorScheme='green' variant='ghost'>
|
||||
<Button
|
||||
as={Link}
|
||||
to='masters'
|
||||
w='100%'
|
||||
colorScheme='green'
|
||||
variant='ghost'
|
||||
>
|
||||
{i18next.t(`dry-wash.arm.master.sideBar.title.master`)}
|
||||
</Button>
|
||||
</Link>
|
||||
<Divider />
|
||||
</VStack>
|
||||
</Box>
|
||||
|
Loading…
Reference in New Issue
Block a user