Skip to content

Commit

Permalink
Merge branch 'main' of github.com:sultan99/holycow
Browse files Browse the repository at this point in the history
  • Loading branch information
sultan99 committed Feb 6, 2023
2 parents d537af5 + 4835254 commit bdaa0d8
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 @@ -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!')
})
```
Expand Down

0 comments on commit bdaa0d8

Please sign in to comment.