mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
More docs typos
This commit is contained in:
parent
ed319db199
commit
10112a159e
@ -53,7 +53,7 @@ Here's an example. To retrieve the current user, simply call:
|
||||
```tsx
|
||||
export function MyComponent() {
|
||||
const user = useUser({ or: "redirect" });
|
||||
return <div>{`Hi, ${user.displayName}`}</div>;
|
||||
return <div>Hi, {user.displayName}</div>;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user