We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b98c3c commit f403296Copy full SHA for f403296
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