From 7c0c884c281f3741c43c511a2515aafc699718a0 Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Wed, 9 May 2018 16:35:30 +0200 Subject: [PATCH] Summary tokens filter to unique account --- src/js/components/wallet/summary/Summary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/components/wallet/summary/Summary.js b/src/js/components/wallet/summary/Summary.js index 77eb76c2..f29e5e7e 100644 --- a/src/js/components/wallet/summary/Summary.js +++ b/src/js/components/wallet/summary/Summary.js @@ -36,7 +36,7 @@ const _render = (props: Props, state: AccountState): React$Element => { if (!device || !account) return
; 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 (