Skip to content

Commit f766f54

Browse files
Merge pull request #383 from jekyll/fix-filepicker
Remove shouldComponentUpdate from MetaSimple component
2 parents f282b79 + cef4797 commit f766f54

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/metadata/MetaSimple.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ export class MetaSimple extends Component {
2121
this.handleCloseModal = this.handleCloseModal.bind(this);
2222
}
2323

24-
shouldComponentUpdate(nextProps) {
25-
return nextProps.fieldValue !== this.props.fieldValue;
26-
}
27-
2824
handleOpenModal () {
2925
this.setState({ showModal: true });
3026
}

0 commit comments

Comments
 (0)