Skip to content

Lesson 10: UI doesnt update after enterRaffle is called in typescript branch #824

Answered by buikhacnam
myVpbApp2022 asked this question in Q&A
Discussion options

You must be logged in to vote

I made a pull request to fix this. The transaction should be wait fro one block before calling updateUI function: https://github.com/PatrickAlphaC/nextjs-smartcontract-lottery-fcc/pull/7/files

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by myVpbApp2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants