diff --git a/packages/plugin-r3f/src/components/Editor.tsx b/packages/plugin-r3f/src/components/Editor.tsx index aa91ddb..2f434db 100644 --- a/packages/plugin-r3f/src/components/Editor.tsx +++ b/packages/plugin-r3f/src/components/Editor.tsx @@ -13,7 +13,6 @@ import studio from '@theatre/studio' import {useVal} from '@theatre/dataverse-react' import {IdProvider} from './elements/IdProvider' import PortalManager from './elements/PortalManager' -import Button from './elements/Button' const EditorScene = () => { const orbitControlsRef = useRef() @@ -100,18 +99,6 @@ const Editor: VFC = () => { ) : null} - {editorOpen || ( - - )} diff --git a/packages/plugin-r3f/src/components/UI.tsx b/packages/plugin-r3f/src/components/UI.tsx index 37a8f49..8af4969 100644 --- a/packages/plugin-r3f/src/components/UI.tsx +++ b/packages/plugin-r3f/src/components/UI.tsx @@ -13,7 +13,6 @@ import studio from '@theatre/studio' import {getSelected} from './useSelected' import {useVal} from '@theatre/dataverse-react' import IconButton from './elements/IconButton' -import Button from './elements/Button' const UI: VFC = () => { const [editorObject] = useEditorStore( @@ -135,18 +134,6 @@ const UI: VFC = () => { - - {/* Bottom-left corner*/} - diff --git a/packages/plugin-r3f/src/components/elements/Button.tsx b/packages/plugin-r3f/src/components/elements/Button.tsx deleted file mode 100644 index afdccb7..0000000 --- a/packages/plugin-r3f/src/components/elements/Button.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import React, {forwardRef} from 'react' -import type {ButtonProps} from 'reakit' -import {Button as ButtonImpl} from 'reakit' - -export type {ButtonProps} - -const Button = forwardRef((props, ref) => { - return ( - - ) -}) - -export default Button