This commit is contained in:
Arpit 2022-04-21 08:36:54 +05:30 committed by GitHub
parent 431dc961cd
commit ab7ba7c464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,7 +162,7 @@ class Editor extends React.Component {
};
componentDidUpdate(prevProps, prevState) {
if (prevState.appDefinition !== this.state.appDefinition) {
if (!isEqual(prevState.appDefinition, this.state.appDefinition)) {
computeComponentState(this, this.state.appDefinition.components);
}
}