@cullsin/lnc-menu 3.0.14 → 3.0.16

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.
@@ -49,8 +49,8 @@ function SideMenu({ useDrawer, SampleMgmtIcon, navigate }) {
49
49
  if (isDrawerOpen) {
50
50
  toggleDrawer();
51
51
  }
52
- // Use navigate for client-side routing instead of window.location.href
53
- navigate(path);
52
+ // navigating through href
53
+ window.location.href = path;
54
54
  };
55
55
  const menuItems = [
56
56
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cullsin/lnc-menu",
3
- "version": "3.0.14",
3
+ "version": "3.0.16",
4
4
  "description": "Reusable SideMenu component for MedGenome LNC platform using MUI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",