Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/routes/docs/tutorials/nextjs/step-5/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We will use the `useAuth()` hook for information about the current user.
With this piece of information we will show a login button when no user is logged in and a logout button when one is.
We will also put the user's email address next to the logout button.

Create a new file `src/components/Navbar.tsx` and add the code below.
Create a new file called `src/components/Navbar.tsx` and add the following code.

```tsx
// src/components/Navbar.tsx
Expand Down Expand Up @@ -82,4 +82,4 @@ export default function RootLayout({
}
```

Have a look in the browser at both the main page and the login page to test the new functionality.
Have a look in the browser at both the main page and the login page to test the new functionality.