1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-25 00:18:07 +00:00

#14 Fixed menu hover effect

This commit is contained in:
Vladimir Volek 2018-09-10 13:07:51 +02:00
parent f5ddddc1fb
commit c23d91c7bf

View File

@ -36,13 +36,12 @@ const StyledNavLink = styled(NavLink)`
}
`;
const TopNavigationAccount = (props: any) => {
const urlParams = props.match.params;
const basePath = `/device/${urlParams.device}/network/${urlParams.network}/account/${urlParams.account}`;
return (
<Wrapper>
<Wrapper className="account-tabs">
<StyledNavLink exact to={`${basePath}`}>Summary</StyledNavLink>
<StyledNavLink to={`${basePath}/send`}>Send</StyledNavLink>
<StyledNavLink to={`${basePath}/receive`}>Receive</StyledNavLink>