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

Fix conditional rendering of layout routes in AppRoutes #288

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seika-afk
Copy link

-Fixed The issue of Layout being applied on Initial Page.
-Now the layout only gets applied on the path that are mentioned in ROUTES.LAYOUT

-Initial Page Route: Displays InitialPage at the ROUTES.INITIAL path.
-Layout Routes: Applies a layout to routes in ROUTES.LAYOUT, using a wildcard path="*". This ensures the layout wraps around all matching routes.

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

Successfully merging this pull request may close these issues.

1 participant