diff --git a/README.md b/README.md index b08fa3b..4cff97b 100644 --- a/README.md +++ b/README.md @@ -78,10 +78,10 @@ const [AppEventProvider, useAppEvent, appEvent] = events(...) and then ```jsx -// 💪 Get substate +// 🗣️ Dispatch event appEvent.dispatch('buttonClicked', 'Hello Allice!') -// 🤌 Subscribe and listen on new events +// 👂 Subscribe and listen on new events const subscriber = appEvent.subscribe({ buttonClicked: (payload: string) => console.log(payload) })