mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
fixed typo
This commit is contained in:
parent
ec380343ad
commit
0ed76f3b30
@ -202,7 +202,7 @@ To see more examples of how to use the `User` object, check out the [User API do
|
||||
You can update the user's information by calling `user.update()` with the new data. The user data from the `userUser()` hook will also be updated automatically. Here is an example:
|
||||
|
||||
```tsx title="Update user display name"
|
||||
'user client';
|
||||
'use client';
|
||||
import { useUser } from "@stackframe/stack";
|
||||
|
||||
export default function UpdateUser() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user