mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-31 19:30:53 +00:00
cleanup
This commit is contained in:
parent
2ca219414a
commit
fb0f0c0c69
@ -50,10 +50,6 @@ const TokenName = styled(TokenText)`
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const TokenSymbol = styled(TokenText)`
|
|
||||||
flex: 0 0 0;
|
|
||||||
`;
|
|
||||||
|
|
||||||
const TokenBalance = styled(TokenText)`
|
const TokenBalance = styled(TokenText)`
|
||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
@ -87,8 +83,7 @@ class AddedToken extends PureComponent {
|
|||||||
</TokenIcon>
|
</TokenIcon>
|
||||||
|
|
||||||
<TokenName>{this.props.token.name}</TokenName>
|
<TokenName>{this.props.token.name}</TokenName>
|
||||||
<TokenBalance>{this.getTokenBalance(this.props.token)}</TokenBalance>
|
<TokenBalance>{this.getTokenBalance(this.props.token)} {this.props.token.symbol}</TokenBalance>
|
||||||
<TokenSymbol> {this.props.token.symbol}</TokenSymbol>
|
|
||||||
<RemoveTokenButton
|
<RemoveTokenButton
|
||||||
isTransparent
|
isTransparent
|
||||||
onClick={() => this.props.removeToken(this.props.token)}
|
onClick={() => this.props.removeToken(this.props.token)}
|
||||||
|
Loading…
Reference in New Issue
Block a user