mirror of
https://github.com/trezor/trezor-wallet
synced 2025-06-30 03:42:34 +00:00
prevent text decoration on hover in coin menu item
This commit is contained in:
parent
182a123857
commit
e4595c33c3
@ -20,6 +20,12 @@ const ExternalWallet = styled.div`
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const StyledLink = styled(Link)`
|
||||||
|
&:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
class CoinMenu extends PureComponent<Props> {
|
class CoinMenu extends PureComponent<Props> {
|
||||||
getBaseUrl() {
|
getBaseUrl() {
|
||||||
const { selectedDevice } = this.props.wallet;
|
const { selectedDevice } = this.props.wallet;
|
||||||
@ -62,9 +68,9 @@ class CoinMenu extends PureComponent<Props> {
|
|||||||
</ExternalWallet>
|
</ExternalWallet>
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<Link key={coin.id} href={coin.url} target="_top">
|
<StyledLink isGray key={coin.id} href={coin.url} target="_top">
|
||||||
{row}
|
{row}
|
||||||
</Link>
|
</StyledLink>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user