primereact 7.0.0-rc.1 → 7.0.0-rc.2

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.
@@ -24042,17 +24042,7 @@ var DataTable = /*#__PURE__*/function (_Component) {
24042
24042
  value: function getColumns(ignoreReorderable) {
24043
24043
  var _this2 = this;
24044
24044
 
24045
- var isValidType = function isValidType(type) {
24046
- return type.name === 'Column';
24047
- };
24048
-
24049
- var columns = React.Children.toArray(this.props.children).reduce(function (arr, child) {
24050
- var type = child && child.type;
24051
- type && (isValidType(type) ? arr.push(child) : type.toString() === 'Symbol(react.fragment)' && (arr = [].concat(_toConsumableArray(arr), _toConsumableArray(React.Children.toArray(child.props.children).filter(function (c) {
24052
- return isValidType(c.type);
24053
- })))));
24054
- return arr;
24055
- }, []);
24045
+ var columns = React.Children.toArray(this.props.children);
24056
24046
 
24057
24047
  if (!columns) {
24058
24048
  return null;