react-better-html 1.1.114 → 1.1.115

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.js CHANGED
@@ -7057,7 +7057,7 @@ var TableComponent = (0, import_react23.forwardRef)(function Table({
7057
7057
  switch (column.type) {
7058
7058
  case "text": {
7059
7059
  const value = column.keyName ? item[column.keyName] : void 0;
7060
- return column.format?.(item, index) ?? String(value);
7060
+ return column.format?.(item, index) ?? String(value ?? "");
7061
7061
  }
7062
7062
  case "element": {
7063
7063
  return column.render?.(item, index) ?? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {});