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 app router features #42

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Fix app router features #42

merged 1 commit into from
Feb 16, 2024

Conversation

devstack-be
Copy link
Contributor

  • @ Header
    Fix unnecessary use of parallels routes for a "header" layout title and replace it with a simple component "Header"
    According to doc (here)

  • UseRouter()
    Convert useRouter().pathname to usePathname according to documentation (useRouter().pathname was undefined and the active props of NavLInk weren't working).
    According to doc (here)

Kindly,

- Fix unnecessary use of parallels routes for a "header" layout title and replace it with a simple component "Header"
- Convert useRouter().pathname to usePathname according to documentation (useRouter().pathname was undefined and the active props of NavLInk weren't working).
@taylorotwell taylorotwell merged commit 14a70a9 into laravel:master Feb 16, 2024
2 checks passed
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.

2 participants