Skip to content

Commit

Permalink
fixup! Prevent exchange rate fluctuations from restarting transaction…
Browse files Browse the repository at this point in the history
… list stream
  • Loading branch information
peachbits committed Oct 10, 2024
1 parent b1d900e commit 4961782
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/useTransactionList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4961782

Please sign in to comment.