react-table-edit 1.5.16 → 1.5.17

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
@@ -68954,7 +68954,7 @@ const TableView = ({ idTable, dataSource, height = 400, columns, isMutil = false
68954
68954
  }
68955
68955
  }
68956
68956
  }, [selectedItem]);
68957
- const firstColSpan = flatVisble.length > 6 ? 3 : flatVisble.length / 2;
68957
+ const firstColSpan = flatVisble.length > 6 ? 3 : Math.floor(flatVisble.length / 2);
68958
68958
  const RenderContent = ({ datas, level = 0 }) => {
68959
68959
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: datas.map((row, indexRow) => {
68960
68960
  const [expand, setExpand] = React$5.useState(row.expand ?? false);