neogestify-ui-components 2.3.0 → 2.3.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.
@@ -611,7 +611,7 @@ function Table({
611
611
  caption && /* @__PURE__ */ jsxRuntime.jsx("caption", { className: "mb-2 text-left text-sm text-gray-500 dark:text-gray-400", children: caption }),
612
612
  !hideHeader && /* @__PURE__ */ jsxRuntime.jsx("thead", { className: theadCls, children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: cols.map((col, i) => {
613
613
  const isSortable = col.sortable && col.key;
614
- const activeSort = sortState?.key === col.key ? sortState.direction : null;
614
+ const activeSort = sortState && col.key && sortState.key === col.key ? sortState.direction : null;
615
615
  return /* @__PURE__ */ jsxRuntime.jsxs(
616
616
  "th",
617
617
  {