Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
macoley authored May 11, 2022
1 parent 526dc4b commit 60c9be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const [EventProvider, useEvents] = events({

const { buttonClicked, avatarClicked } = useEvents({
buttonClicked: (payload) => console.log(payload), // prints "Hello Alice!",
avatarClicked: (payload) => console.log(payload), // prints "Bob!"
avatarClicked: (payload) => console.log(payload), // prints "Bob!"
})

buttonClicked('Alice')
Expand Down

0 comments on commit 60c9be3

Please sign in to comment.