Skip to content

[Bug] Pool deposit modal does not refresh pool data after successful deposit #491

Description

@nonsobethel0-dev

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions