diff --git a/packages/plugin-r3f/src/components/Editor.tsx b/packages/plugin-r3f/src/components/Editor.tsx index 2f434db..cbcadf4 100644 --- a/packages/plugin-r3f/src/components/Editor.tsx +++ b/packages/plugin-r3f/src/components/Editor.tsx @@ -11,8 +11,6 @@ import UI from './UI' import ProxyManager from './ProxyManager' import studio from '@theatre/studio' import {useVal} from '@theatre/dataverse-react' -import {IdProvider} from './elements/IdProvider' -import PortalManager from './elements/PortalManager' const EditorScene = () => { const orbitControlsRef = useRef() @@ -69,8 +67,8 @@ const Editor: VFC = () => { return (
- - + <> + <>
{
- - + +
) diff --git a/packages/plugin-r3f/src/components/elements/CompactModeSelect.tsx b/packages/plugin-r3f/src/components/elements/CompactModeSelect.tsx index 6a7621e..4827f62 100644 --- a/packages/plugin-r3f/src/components/elements/CompactModeSelect.tsx +++ b/packages/plugin-r3f/src/components/elements/CompactModeSelect.tsx @@ -1,10 +1,8 @@ -import type {ReactElement, ReactNode, VFC} from 'react' +import type {ReactElement, ReactNode} from 'react' import React from 'react' import type {IconType} from 'react-icons' import {Group, Button} from 'reakit' import {Tooltip, TooltipReference, useTooltipState} from './Tooltip' -import {usePopoverState, PopoverDisclosure, Popover} from './Popover' -import {FiChevronDown} from 'react-icons/all' interface OptionButtonProps