We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f40c5b + f403296 commit 38a8bd9Copy full SHA for 38a8bd9
src/TableColumn.js
@@ -20,7 +20,7 @@ class TableColumn extends React.Component{
20
return shouldUpdated;
21
}
22
23
- if(typeof children === 'object') {
+ if(typeof children === 'object' && children !== null) {
24
if(children.props.type === 'checkbox' || children.props.type === 'radio') {
25
shouldUpdated = shouldUpdated ||
26
children.props.type !== nextProps.children.props.type ||
0 commit comments