diff --git a/src/mol-plugin-ui/plugin.tsx b/src/mol-plugin-ui/plugin.tsx index a6b4da446e27ff4e7b15409d9c07d288cee5a568..fc492fe8caa0a02f8307886137cd4d1ce88cd983 100644 --- a/src/mol-plugin-ui/plugin.tsx +++ b/src/mol-plugin-ui/plugin.tsx @@ -24,14 +24,6 @@ import { BehaviorSubject } from 'rxjs'; import { useBehavior } from './hooks/use-behavior'; export class Plugin extends React.Component<{ plugin: PluginUIContext, children?: any }, {}> { - region(kind: 'left' | 'right' | 'bottom' | 'main', element: JSX.Element) { - return <div className={`msp-layout-region msp-layout-${kind}`}> - <div className='msp-layout-static'> - {element} - </div> - </div>; - } - render() { return <PluginReactContext.Provider value={this.props.plugin}> <Layout />