mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
Summary tokens filter to unique account
This commit is contained in:
parent
fd603c6a70
commit
7c0c884c28
@ -36,7 +36,7 @@ const _render = (props: Props, state: AccountState): React$Element<string> => {
|
||||
if (!device || !account) return <section></section>;
|
||||
|
||||
const abstractAccount = props.abstractAccount;
|
||||
const tokens = props.tokens.filter(t => t.ethAddress === account.address && t.network === account.network);
|
||||
const tokens = props.tokens.filter(t => t.ethAddress === account.address && t.network === account.network && t.deviceState === abstractAccount.deviceState);
|
||||
|
||||
return (
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user