Description
After a successful deposit, the pool page still shows the old share count until manual page refresh.
Current behavior
Pool data is not invalidated/refetched after deposit.
Expected behavior
Refetch pool data after successful deposit to show updated shares.
Files
- components/modals/DepositModal.tsx
- hooks/usePools.ts
Impact
Stale data shown to user after action.
Description
After a successful deposit, the pool page still shows the old share count until manual page refresh.
Current behavior
Pool data is not invalidated/refetched after deposit.
Expected behavior
Refetch pool data after successful deposit to show updated shares.
Files
Impact
Stale data shown to user after action.