feature/default_network_editable
Alexander Tseung 7 years ago
commit ef0bbb291d
  1. 2
      ui/app/selectors.js

@ -116,7 +116,7 @@ function transactionsSelector (state) {
// console.log({txsToRender, selectedTokenAddress}) // console.log({txsToRender, selectedTokenAddress})
return selectedTokenAddress return selectedTokenAddress
? txsToRender ? txsToRender
.filter(({ txParams: { to } }) => to === selectedTokenAddress) .filter(({ txParams }) => txParams && txParams.to === selectedTokenAddress)
.sort((a, b) => b.time - a.time) .sort((a, b) => b.time - a.time)
: txsToRender : txsToRender
.sort((a, b) => b.time - a.time) .sort((a, b) => b.time - a.time)

Loading…
Cancel
Save