@hyphen/hyphen-components 6.1.1 → 6.1.2

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.
@@ -4102,7 +4102,7 @@ var SidebarProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
4102
4102
  }
4103
4103
  localStorage.setItem(storageKey, "" + newOpenState);
4104
4104
  }
4105
- }, [setOpenProp, open]);
4105
+ }, [setOpenProp, open, storageKey]);
4106
4106
  // Toggle sidebar based on screen type
4107
4107
  var toggleSidebar = useCallback(function () {
4108
4108
  isMobile ? setOpenMobile(function (open) {