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

notification.transactionName is always undefined in "transactionSucceed" message. #9

Open
HetaHub opened this issue Dec 24, 2022 · 1 comment

Comments

@HetaHub
Copy link

HetaHub commented Dec 24, 2022

Hello,
I followed the final tutorial on https://www.youtube.com/watch?v=M576WGiDBdQ . The file useStakeTokens.tsx in hooks defines the transactionName 'Approve ERC20 transfer' and 'Stake Tokens' when getting return message, but when I use it in StakeForm.tsx , I always get transactionName only in the transactionStarted message but not in transactionSucceed message, and I don't know how to set the transactionName in the transactionSucceed message. Any ideas on what I have done wrong?

bandicam 2022-12-24 21-03-56-995

bandicam 2022-12-24 21-03-13-366

@PatrickAlphaC
Copy link
Owner

Hmm... The UI portion of the course is a bit outdated. I'm not sure at first glance what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants