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

Incorrect tabs getting rendered on 0.0.30 #98

Closed
nandorojo opened this issue Oct 19, 2022 · 2 comments
Closed

Incorrect tabs getting rendered on 0.0.30 #98

nandorojo opened this issue Oct 19, 2022 · 2 comments

Comments

@nandorojo
Copy link

Sorry for using @next version, couldn't help myself. I'm getting this behavior there:

Screen Shot 2022-10-19 at 6 04 42 PM

I have app/_layout and app/index.tsx.

index gets rendered as duplicate tabs, and [...404] seems to get added there on its own. The second index tab is opening the sitemap.

That's actually pretty useful, but I'm curious what this behavior is meant to be.

@EvanBacon
Copy link
Contributor

Previously there was a default Stack layout used to render all the top-level routes, but now you can override this by creating app/_layout.js.

Because [...404] and __index exist at the top level, they're showing up in this new layout.

@nandorojo
Copy link
Author

I see. So should I make those tabs hidden with href: null?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants