@crystaltech/hsms-shared-ui 0.5.31-alpha-10 → 0.5.31-alpha-11

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.
package/dist/index.es.js CHANGED
@@ -28355,7 +28355,7 @@ const K5 = ({
28355
28355
  userRoles: l = [],
28356
28356
  user: c
28357
28357
  }) => {
28358
- const [u, d] = k.useState({}), f = Sy(), p = localStorage.getItem("hospitalInfo"), m = p ? JSON.parse(p).facilityId : "Hospital Short Name", b = p ? JSON.parse(p).hospitalName : "Hospital Full Name", h = p ? JSON.parse(p).logoUrl : "", v = k.useMemo(() => i.map((x) => {
28358
+ const [u, d] = k.useState({}), f = Sy(), p = localStorage.getItem("hospital_info"), m = p ? JSON.parse(p).facilityId : "Hospital Short Name", b = p ? JSON.parse(p).hospitalName : "Hospital Full Name", h = p ? JSON.parse(p).logoUrl : "", v = k.useMemo(() => i.map((x) => {
28359
28359
  var R;
28360
28360
  return {
28361
28361
  ...x,
@@ -44956,7 +44956,7 @@ const QL = vr(Ke)(() => ({
44956
44956
  if (!u.ok)
44957
44957
  throw new Error(`HTTP error! status: ${u.status}`);
44958
44958
  const d = await u.json();
44959
- localStorage.setItem("hospital-info", JSON.stringify((d == null ? void 0 : d.data) || {})), i((d == null ? void 0 : d.data) || null);
44959
+ localStorage.setItem("hospital_info", JSON.stringify((d == null ? void 0 : d.data) || {})), i((d == null ? void 0 : d.data) || null);
44960
44960
  } catch (c) {
44961
44961
  console.error("Error fetching facility:", c);
44962
44962
  } finally {