Skip to content

Commit 9d93c94

Browse files
committed
updated README
1 parent 4ef9d16 commit 9d93c94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ By default the SDK initialize a [`LocalAuthStore`](https://github.com/pocketbase
179179

180180
To _"logout"_ an authenticated user or admin, you can just call `client.authStore.clear()`.
181181

182-
To _"listen"_ for changes in the auth store, you can register a new listener via the `client.authStore.onChange`, eg:
182+
To _"listen"_ for changes in the auth store, you can register a new listener via `client.authStore.onChange`, eg:
183183
```js
184184
const removeListener = client.authStore.onChange((token, model) => {
185185
console.log('New store data:', token, model)

0 commit comments

Comments
 (0)