Skip to content

LESSON 10: UI not updating recent winner #3772

Answered by RoboCrypter
Codeinor asked this question in Q&A
Discussion options

You must be logged in to vote

@Codeinor : Run the commands in the following order ( Make sure your hardhat node is running ) :

1. First run the command ---> yarn hardhat run scripts/enter.js --network localhost

2. Then run the command ---> yarn hardhat run scripts/mockOffChain.js --network localhost

It should update the recent winner in the UI after that!

Let me know, If the issue persists..

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@Codeinor
Comment options

@kantoash
Comment options

@kantoash
Comment options

@RoboCrypter
Comment options

Answer selected by Codeinor
Comment options

You must be logged in to vote
2 replies
@deep0072
Comment options

@ugur17
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants