Open Rajan03 opened 11 months ago
Currently, when we go to Formik Page or FieldArray Page two different links were selected at once
Expected to select only /fieldArray route when i am at /fieldarray path similarly for formik only /formik should be selected when i am at /formik path
Go to Formik page to view current behaviour Go to FieldArray page to view current behaviour
In SidebarRoutes Component in [...slug].tsx replace slug.startsWith(pathname as any); by matching exact route
PS: I would like to fix this issue
I am willing to work on this issue !
Bug report
Current Behavior
Currently, when we go to Formik Page or FieldArray Page two different links were selected at once
Expected behavior
Expected to select only /fieldArray route when i am at /fieldarray path similarly for formik only /formik should be selected when i am at /formik path
Reproducible example
Go to Formik page to view current behaviour Go to FieldArray page to view current behaviour
Suggested solution(s)
In SidebarRoutes Component in [...slug].tsx replace slug.startsWith(pathname as any); by matching exact route
PS: I would like to fix this issue