From 4961782e99b40cc87233d18a3fa8dafd03578c64 Mon Sep 17 00:00:00 2001 From: peachbits Date: Thu, 10 Oct 2024 14:11:46 -0700 Subject: [PATCH] fixup! Prevent exchange rate fluctuations from restarting transaction list stream --- src/hooks/useTransactionList.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hooks/useTransactionList.ts b/src/hooks/useTransactionList.ts index 7547701cc71..edd82b54a19 100644 --- a/src/hooks/useTransactionList.ts +++ b/src/hooks/useTransactionList.ts @@ -160,7 +160,8 @@ export function useTransactionList(wallet: EdgeCurrencyWallet, tokenId: EdgeToke cleanupChanged() cleanupStream() } - }, [searchString, tokenId, wallet]) + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [searchString, spamThresholdRef.current, tokenId, wallet]) return { ...output,