Skip to content

Refresh the token balance after a confirmed transfer #3

Description

@oliv3rdrt

TransferForm clears its inputs when useWaitForTransactionReceipt reports success, but the balance from useTokenBalance stays stale until something else triggers a refetch. Invalidate or refetch the balanceOf query on confirmation so the displayed balance updates right after a transfer lands.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions