Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 08-parallel-routes.mdx #52419

Merged
merged 1 commit into from
Jul 10, 2023
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ export default function Login() {

To ensure that the contents of the modal don't get rendered when it's not active, you can create a `default.js` file that returns `null`.

```tsx filename="app/@authModal/login/default.tsx" switcher
```tsx filename="app/@authModal/default.tsx" switcher
export default function Default() {
return null
}
```

```jsx filename="app/@authModal/login/default.js" switcher
```jsx filename="app/@authModal/default.js" switcher
export default function Default() {
return null
}
Expand Down