浏览代码

removing unneeded line

Kyle Belfort 5 年之前
父节点
当前提交
526dab1fd9
共有 1 个文件被更改,包括 0 次插入1 次删除
  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
             });
         })