@ -464,9 +464,7 @@ describe('Confirm Transaction Duck', function () {
getCode: sinon
.stub()
.callsFake((address) =>
Promise.resolve(
address?.match(/isContract/u) ? 'not-0x' : '0x',
),
Promise.resolve(address?.match(/isContract/u) ? 'not-0x' : '0x'),
}
})
@ -41,8 +41,7 @@ const mapStateToProps = (state, ownProps) => {
transaction,
)
const tokens = getTokens(state)
const currentToken =
tokens?.find(({ address }) => tokenAddress === address)
const currentToken = tokens?.find(({ address }) => tokenAddress === address)
const { decimals, symbol: tokenSymbol } = currentToken || {}
const tokenData = getTokenData(data)