Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Route Handling for Localized and Non-Localized Routes (#1063)
* Add helper function that removes locale prefixes from route names * Implments helper removeLocaleFromRouteName * Fix currentRoutePathIncludes * Calls removeLoacaleFromRouteName from isCurrentRoutePathSubpageOf * Uses result from removeLocaleFromRouteName accordingly * Removed additional whitesapce * Removed additional locale --------- Co-authored-by: mohtelsayed <mtelsaye@LAPTOP-1P1MHBAT>
- Loading branch information