Skip to content

Commit

Permalink
[Solidity and Smart Contracts - Section 4] Fix typos
Browse files Browse the repository at this point in the history
Fixing typos for Solidity and Smart Contracts, Section 4, Lesson 2.
  • Loading branch information
iamtony authored Jun 27, 2022
1 parent da90cc1 commit 73b781f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ emit NewWave(msg.sender, block.timestamp, _message);

At a basic level, events are messages our smart contracts throw out that we can capture on our client in real-time.

Lets say I'm chilling on your website and I just have it open. While I'm doing this, your other friend Jeremy waves to you. Right now, the only way I'd see Jeremy's wave is if I refreshed my page. This seems bad. Wouldn't it be cool if I could know that that contract was updated and have my UI magically update?
Let's say I'm chilling on your website and I just have it open. While I'm doing this, your other friend Jeremy waves to you. Right now, the only way I'd see Jeremy's wave is if I refreshed my page. This seems bad. Wouldn't it be cool if I could know that that contract was updated and have my UI magically update?

Even now, it's kinda annoying when we ourselves submit a message, and then we have to wait for it to be mined and then refresh the page to see all the updated list of messages, right? Lets fix that.
Even now, it's kinda annoying when we ourselves submit a message, and then we have to wait for it to be mined and then refresh the page to see all the updated list of messages, right? Let's fix that.

Check out my code here where I updated `getAllWaves` in `App.js.` 

Expand Down

0 comments on commit 73b781f

Please sign in to comment.