We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 749002a commit c004c90Copy full SHA for c004c90
src/TableColumn.js
@@ -21,11 +21,7 @@ class TableColumn extends React.Component{
21
}
22
23
if(typeof children === 'object') {
24
- if(children.props.dangerouslySetInnerHTML) {
25
- shouldUpdated = shouldUpdated ||
26
- children.props.dangerouslySetInnerHTML.__html !==
27
- nextProps.children.props.dangerouslySetInnerHTML.__html;
28
- } else if(children.props.type === 'checkbox' || children.props.type === 'radio') {
+ if(children.props.type === 'checkbox' || children.props.type === 'radio') {
29
shouldUpdated = shouldUpdated ||
30
children.props.type !== nextProps.children.props.type ||
31
children.props.checked !== nextProps.children.props.checked;
0 commit comments