@sarunyu/system-one 4.9.24 → 4.9.26

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.cjs CHANGED
@@ -4112,16 +4112,16 @@ const Notification = React.forwardRef(
4112
4112
  style: { width: (mobileAlign == null ? void 0 : mobileAlign.width) ?? panelWidth },
4113
4113
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-h-[480px] overflow-y-auto", children: [
4114
4114
  !hasItems && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 py-8 text-center text-sm text-muted-foreground", children: emptyText }),
4115
- groups.map((group) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { children: group.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
4115
+ groups.map((group, gi) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { children: group.items.map((item, ii) => /* @__PURE__ */ jsxRuntime.jsx(
4116
4116
  NotificationRow,
4117
4117
  {
4118
4118
  item,
4119
4119
  onItemClick: handleItemClick,
4120
- hideIndicator: clickedItemIds.has(item.id),
4120
+ hideIndicator: item.id ? clickedItemIds.has(item.id) : false,
4121
4121
  demoteNewBackground: wasDismissed
4122
4122
  },
4123
- item.id
4124
- )) }) }, group.label))
4123
+ item.id ?? `${gi}-${ii}`
4124
+ )) }) }, group.label ?? gi))
4125
4125
  ] })
4126
4126
  }
4127
4127
  ) })