Skip to content

Commit

Permalink
move indexedTransaction destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis committed Jan 23, 2025
1 parent 95a8e2c commit e712295
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ export function TransactionsWatcher() {

useEffect(() => {
if (indexedTransactions) {
for (const { tx_hash, tx_signer, tx_to, tx_value, tx_input, block_time, block_num } of indexedTransactions) {
for (const indexedTransaction of indexedTransactions) {
const { tx_hash, tx_signer, tx_to, tx_value, tx_input, block_time, block_num } = indexedTransaction;
const transaction = transactions.find((tx) => tx.hash === tx_hash);
if (!transaction) {
handleTransaction({
Expand Down

0 comments on commit e712295

Please sign in to comment.