Skip to content

Commit 8777858

Browse files
committed
docs(clerk): Fix type issue with Clerk example
1 parent 4932349 commit 8777858

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/docs/auth/clerk.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,15 @@ const HomePage = () => {
7474
{/* MetaTags, h1, paragraphs, etc. */}
7575

7676
<p>{JSON.stringify({ isAuthenticated })}</p>
77-
<button onClick={signUp}>sign up</button>
77+
<button onClick={() => signUp()}>Sign Up</button>
7878
</>
7979
)
8080
}
81+
82+
export default HomePage
8183
```
8284

83-
Clicking sign up should open a sign-up box and after you sign up, you should see `{"isAuthenticated":true}` on the page.
85+
Clicking Sign Up should open a sign-up box and after you sign up, you should see `{"isAuthenticated":true}` on the page.
8486

8587
## Customizing the session token
8688

0 commit comments

Comments
 (0)