mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix exception thrown in selected token tx list with shapeshift txs (#3215)
This commit is contained in:
parent
c8c2dfdc0f
commit
7f70943fa2
@ -116,7 +116,7 @@ function transactionsSelector (state) {
|
||||
// console.log({txsToRender, selectedTokenAddress})
|
||||
return selectedTokenAddress
|
||||
? txsToRender
|
||||
.filter(({ txParams: { to } }) => to === selectedTokenAddress)
|
||||
.filter(({ txParams }) => txParams && txParams.to === selectedTokenAddress)
|
||||
.sort((a, b) => b.time - a.time)
|
||||
: txsToRender
|
||||
.sort((a, b) => b.time - a.time)
|
||||
|
Loading…
x
Reference in New Issue
Block a user