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.mjs CHANGED
@@ -6985,7 +6985,7 @@ var TableComponent = forwardRef15(function Table({
6985
6985
  switch (column.type) {
6986
6986
  case "text": {
6987
6987
  const value = column.keyName ? item[column.keyName] : void 0;
6988
- return column.format?.(item, index) ?? String(value);
6988
+ return column.format?.(item, index) ?? String(value ?? "");
6989
6989
  }
6990
6990
  case "element": {
6991
6991
  return column.render?.(item, index) ?? /* @__PURE__ */ jsx20(Fragment5, {});