Description
useTransactionHistory.ts fetches events once on mount. New transactions are not reflected until the user manually refreshes. Polling every 30 seconds would keep the history current.
Tasks
Acceptance Criteria
- New events appear within 30 seconds without a page refresh
- Interval is cleared when the component unmounts (no memory leak)
- Manual refresh button triggers an immediate fetch
Description
useTransactionHistory.tsfetches events once on mount. New transactions are not reflected until the user manually refreshes. Polling every 30 seconds would keep the history current.Tasks
setInterval(30 s) inuseTransactionHistoryto re-fetch eventsAcceptance Criteria