Browse Source

removing unneeded line

Kyle Belfort 5 years ago
parent
commit
526dab1fd9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      inspector/src/components/sceneExplorer/sceneExplorerComponent.tsx

+ 0 - 1
inspector/src/components/sceneExplorer/sceneExplorerComponent.tsx

@@ -82,7 +82,6 @@ export class SceneExplorerComponent extends React.Component<ISceneExplorerCompon
         this.sceneExplorerRef = React.createRef();
         this._onNewSceneObserver = this.props.globalState.onNewSceneObservable.add((scene: Scene) => {
             this.setState({
-                ...this.state,
                 scene
             });
         })