Skip to content

Commit c004c90

Browse files
committed
remove dataformat compare for fixing #213
1 parent 749002a commit c004c90

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/TableColumn.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ class TableColumn extends React.Component{
2121
}
2222

2323
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') {
24+
if(children.props.type === 'checkbox' || children.props.type === 'radio') {
2925
shouldUpdated = shouldUpdated ||
3026
children.props.type !== nextProps.children.props.type ||
3127
children.props.checked !== nextProps.children.props.checked;

0 commit comments

Comments
 (0)