diff --git a/ui/app/ducks/confirm-transaction/confirm-transaction.duck.test.js b/ui/app/ducks/confirm-transaction/confirm-transaction.duck.test.js index d1d427502..9921bfc46 100644 --- a/ui/app/ducks/confirm-transaction/confirm-transaction.duck.test.js +++ b/ui/app/ducks/confirm-transaction/confirm-transaction.duck.test.js @@ -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'), ), } }) diff --git a/ui/app/pages/confirm-token-transaction-base/confirm-token-transaction-base.container.js b/ui/app/pages/confirm-token-transaction-base/confirm-token-transaction-base.container.js index ca67434ae..5c01aa9bd 100644 --- a/ui/app/pages/confirm-token-transaction-base/confirm-token-transaction-base.container.js +++ b/ui/app/pages/confirm-token-transaction-base/confirm-token-transaction-base.container.js @@ -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)