Skip to content

Commit 7d45b80

Browse files
committed
fix #319
1 parent 605ff9f commit 7d45b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapTable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class BootstrapTable extends React.Component {
116116
}
117117

118118
getColumnsDescription({ children }) {
119-
return children.map((column, i) => {
119+
return React.Children.map(children, (column, i) => {
120120
return {
121121
name: column.props.dataField,
122122
align: column.props.dataAlign,

0 commit comments

Comments
 (0)