@lincros-ui/components 0.2.22 → 0.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4942,7 +4942,7 @@ function useSidebarState(routePaths) {
4942
4942
  return expandedMenus.includes(menuTitle);
4943
4943
  };
4944
4944
  const isMenuItemActive = (url) => {
4945
- return location.pathname.includes(url);
4945
+ return location.pathname === url;
4946
4946
  };
4947
4947
  const isExactMenuItemActive = (url) => {
4948
4948
  return location.pathname === url;