Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TInitial and TSuccess in MutationEventArgs #44

Closed
codingki opened this issue Oct 13, 2022 · 0 comments · Fixed by #45
Closed

Add TInitial and TSuccess in MutationEventArgs #44

codingki opened this issue Oct 13, 2022 · 0 comments · Fixed by #45
Assignees
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@codingki
Copy link
Member

    I try to implement this, but I got this typescript error
const { sendTokensAsync, isLoading } = useSendTokens({
    onError: (err, args: SendTokensArgs) => {
      return toast({
        status: "error",
        title: "Send token fail",
        description: `Failed send token to ${args.recipientAddress}`,
      });
    },
  });

error
image

Originally posted by @joshuanatanielnm in #43 (comment)

@codingki codingki added bug Something isn't working enhancement New feature or request labels Oct 13, 2022
@codingki codingki self-assigned this Oct 13, 2022
@codingki codingki added the good first issue Good for newcomers label Oct 13, 2022
@codingki codingki removed their assignment Oct 13, 2022
@joshuanatanielnm joshuanatanielnm self-assigned this Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Development

Successfully merging a pull request may close this issue.

2 participants