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