diff --git a/dashboard/src/components/ActivityFeed.tsx b/dashboard/src/components/ActivityFeed.tsx index 405a0d4..0ea9a01 100644 --- a/dashboard/src/components/ActivityFeed.tsx +++ b/dashboard/src/components/ActivityFeed.tsx @@ -151,7 +151,7 @@ export function ActivityFeed() { // Clear stale activity and re-fetch from page 1 whenever the connected // wallet address changes (switch or disconnect). This is the fix for issue #175. - useWalletAccountSync((_nextAddress) => { + useWalletAccountSync(() => { setEvents([]); setLiveEvents([]); setTotal(0); diff --git a/dashboard/src/pages/EventExplorerPage.tsx b/dashboard/src/pages/EventExplorerPage.tsx index bcf08db..39163a4 100644 --- a/dashboard/src/pages/EventExplorerPage.tsx +++ b/dashboard/src/pages/EventExplorerPage.tsx @@ -95,7 +95,7 @@ export function EventExplorerPage() { // Clear stale events and re-fetch whenever the connected wallet address // changes (switch or disconnect). This is the fix for issue #175. - useWalletAccountSync((_nextAddress) => { + useWalletAccountSync(() => { setEvents([]); setError(null); setPage(1);