@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.
@@ -4131,7 +4131,7 @@ var SidebarProvider = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
4131
4131
  }
4132
4132
  localStorage.setItem(storageKey, "" + newOpenState);
4133
4133
  }
4134
- }, [setOpenProp, open]);
4134
+ }, [setOpenProp, open, storageKey]);
4135
4135
  // Toggle sidebar based on screen type
4136
4136
  var toggleSidebar = React.useCallback(function () {
4137
4137
  isMobile ? setOpenMobile(function (open) {