qpp-style 9.41.3 → 9.41.4

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.
@@ -75,6 +75,8 @@ const SideNavUI = ({
75
75
  }, [isExpanded, isExpandedPropSet]);
76
76
 
77
77
  useEffect(() => {
78
+ const path = window.location.pathname;
79
+ document.cookie = `current_path=${path}; Path=/;`;
78
80
  isSideNavExpanded(window.document);
79
81
  let cancelRequest = false;
80
82
  const { origin } = window.location;
@@ -101,7 +103,7 @@ const SideNavUI = ({
101
103
  return () => {
102
104
  cancelRequest = true;
103
105
  };
104
- }, []);
106
+ }, [location.pathname]);
105
107
 
106
108
  const content = !items?.length ? (
107
109
  <LevelOneContent