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