Browse Source

remove duplication

Yana Rose 4 years ago
parent
commit
063ad0b274
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/viewer/index.ts

+ 0 - 1
src/viewer/index.ts

@@ -160,7 +160,6 @@ export class Viewer {
         };
 
         this.plugin.init();
-        ReactDOM.render(React.createElement(Plugin, { plugin: this.plugin }), target);
 
         const renderer = this.plugin.canvas3d!.props.renderer;
         PluginCommands.Canvas3D.SetSettings(this.plugin, { settings: { renderer: { ...renderer, backgroundColor: o.backgroundColor } } });