Fix for components on same kind not re-rending on inspector

This commit is contained in:
navaneeth 2021-05-02 19:54:54 +05:30
parent bc049271c7
commit 1be42dbadd

View file

@ -723,6 +723,7 @@ class Editor extends React.Component {
removeComponent={this.removeComponent}
selectedComponent={selectedComponent}
components={appDefinition.components}
key={selectedComponent.id}
></Inspector>
) : (
<div className="mt-5 p-2">Please select a component to inspect</div>