Skip to content

Commit

Permalink
docs(useUser): fix title and the method name in the code sample (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailarilik committed Mar 9, 2024
1 parent 159dc4f commit 7aa534c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/composition-api/useUser.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## useAuth
## useUser
```ts
const user = useAuth<UserData>()
const user = useUser<UserData>()

console.log(user.value)
```

return `ComputedRef<UserData | null>` allow only getters.
return `ComputedRef<UserData | null>` allow only getters.

0 comments on commit 7aa534c

Please sign in to comment.