Skip to content

Commit ed319db

Browse files
committed
Fix docs typo
1 parent f1eaf4c commit ed319db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/fern/docs/pages/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Here's an example. To retrieve the current user, simply call:
5353
```tsx
5454
export function MyComponent() {
5555
const user = useUser({ or: "redirect" });
56-
return <div>{user ? `Hi, ${user.displayName}` : 'You are not logged in'}</div>;
56+
return <div>{`Hi, ${user.displayName}`}</div>;
5757
}
5858
```
5959

0 commit comments

Comments
 (0)