@orsetra/shared-ui 1.10.0 → 1.10.1

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.
@@ -27,8 +27,8 @@ export function QuickAccessTracker({ label, icon, enabled = true }: QuickAccessT
27
27
 
28
28
  useEffect(() => {
29
29
  if (!enabled || !label || !pathname) return
30
- addRef.current({ label, href: pathname, icon })
31
- // Re-track whenever the actual page changes
30
+ addRef.current({ label, href: window.location.href, icon })
31
+ // pathname triggers the effect on navigation; window.location.href captures the full URL
32
32
  // eslint-disable-next-line react-hooks/exhaustive-deps
33
33
  }, [pathname, label, icon, enabled])
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orsetra/shared-ui",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Shared UI components for Orsetra platform",
5
5
  "main": "./index.ts",
6
6
  "types": "./index.ts",