diff --git a/src/features/Dashboard/components/RecentTransactionList.tsx b/src/features/Dashboard/components/RecentTransactionList.tsx index d278c058f72..edb0f006ccc 100644 --- a/src/features/Dashboard/components/RecentTransactionList.tsx +++ b/src/features/Dashboard/components/RecentTransactionList.tsx @@ -173,7 +173,7 @@ export const RecentTransactionsListUI = ({ }; // We don't want the actual txReceipt to have a zero value transfer in it's arr of value transfers, but // we DO want to display 0 ETH on a transaction in the RecentTransactionsList if the tx has no value transfers. Improves display in-app - if (displayValueTransfers.length == 0) { + if (displayValueTransfers.length === 0) { displayValueTransfers = addBaseAssetValueTransfer( displayValueTransfers, from, diff --git a/src/services/Store/store/helpers.ts b/src/services/Store/store/helpers.ts index 233416a8933..7af769039f8 100644 --- a/src/services/Store/store/helpers.ts +++ b/src/services/Store/store/helpers.ts @@ -172,7 +172,7 @@ export const handleBaseAssetTransfer = ( fromAddr: TAddress, baseAsset: Asset ): IFullTxHistoryValueTransfer[] => - valueTransfers.length == 0 && !bigify(value).isZero() + valueTransfers.length === 0 && !bigify(value).isZero() ? addBaseAssetValueTransfer(valueTransfers, fromAddr, toAddr, value, baseAsset) : valueTransfers; @@ -188,11 +188,11 @@ export const handleIncExchangeTransaction = ( network: Network ): IFullTxHistoryValueTransfer[] => txTypeMetas[derivedTxType] && - txTypeMetas[derivedTxType].type == 'EXCHANGE' && + txTypeMetas[derivedTxType].type === 'EXCHANGE' && ( valueTransfers.filter((t) => accountsMap[generateDeterministicAddressUUID(network.id, t.to)]) || [] - ).length == 0 + ).length === 0 ? [ ...valueTransfers, { diff --git a/src/services/TxHistory/helpers.tsx b/src/services/TxHistory/helpers.tsx index 13d7b1552d1..dd7acae6f90 100644 --- a/src/services/TxHistory/helpers.tsx +++ b/src/services/TxHistory/helpers.tsx @@ -60,7 +60,7 @@ export const convertTxsToHashMap = (txs: ITxReceipt[], initialMap?: Record