From 4835254547f330da0ebf4467f8d4a94b925b2dd3 Mon Sep 17 00:00:00 2001 From: Sultan Date: Sat, 3 Dec 2022 15:02:44 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f65f302..f03f591 100644 --- a/README.md +++ b/README.md @@ -267,7 +267,7 @@ const unsubscribe = useUser.subscribe(state => { unsubscribe() // canceling subscription 👆 // subscription to specific 👇 value -useUser.subscribe('address.street' => { +useUser.subscribe('address.street', () => { console.log('User street was changed!') }) ```