All links work well on sidebar. But only 4.2 (/#/FamilyIntakeForm) works well in header.
All other links will end in dashboard main screen.
No errors reported.
Any idea what am I missing?
Just found out the any link that is defined in appRoutes[] in sidebar will show on header.
How do I get rid of this duplication?
Is there a place to define those links other then appRoutes[]?
Any idea what am I missing?
In the following code (in components/Header/HeaderLinks.jsx):
All links work well on sidebar. But only 4.2 (
/#/FamilyIntakeForm
) works well in header. All other links will end in dashboard main screen. No errors reported.Any idea what am I missing?
Just found out the any link that is defined in
appRoutes[]
in sidebar will show on header. How do I get rid of this duplication? Is there a place to define those links other thenappRoutes[]
? Any idea what am I missing?