Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Commit b2fa0c9

Browse files
committed
fix(home): only show 'tx_status' pending mempool txs, closes #867
1 parent 8cf5337 commit b2fa0c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/hooks/use-mempool.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ export function useMempool(): UseMempool {
3535
.filter(tx => tx.sender_address === address)
3636
.filter(tx => tx.nonce >= nonce);
3737

38-
return { mempoolTxs, outboundMempoolTxs, refetch };
38+
const pendingMempoolTxs = mempoolTxs.filter(tx => tx.tx_status === 'pending');
39+
40+
return { mempoolTxs: pendingMempoolTxs, outboundMempoolTxs, refetch };
3941
}

0 commit comments

Comments
 (0)