PatrickAlphaC / defi-stake-yield-brownie

77 stars 55 forks source link

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

Open HetaHub opened 1 year ago

HetaHub commented 1 year ago

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 commented 1 year ago

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