diff --git a/packages/tldraw/src/components/Primitives/icons/ImageIcon.tsx b/packages/tldraw/src/components/Primitives/icons/ImageIcon.tsx deleted file mode 100644 index 720e5b7ac..000000000 --- a/packages/tldraw/src/components/Primitives/icons/ImageIcon.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import * as React from 'react' - -export function ImageIcon() { - return ( - - - - ) -} diff --git a/packages/tldraw/src/components/Primitives/icons/index.ts b/packages/tldraw/src/components/Primitives/icons/index.ts index d24b89a5b..5909216f0 100644 --- a/packages/tldraw/src/components/Primitives/icons/index.ts +++ b/packages/tldraw/src/components/Primitives/icons/index.ts @@ -16,4 +16,3 @@ export * from './MultiplayerIcon' export * from './DiscordIcon' export * from './LineIcon' export * from './QuestionMarkIcon' -export * from './ImageIcon' diff --git a/packages/tldraw/src/components/ToolsPanel/PrimaryTools.tsx b/packages/tldraw/src/components/ToolsPanel/PrimaryTools.tsx index 601b22e73..7abb62b4e 100644 --- a/packages/tldraw/src/components/ToolsPanel/PrimaryTools.tsx +++ b/packages/tldraw/src/components/ToolsPanel/PrimaryTools.tsx @@ -3,6 +3,7 @@ import { useIntl } from 'react-intl' import { ArrowTopRightIcon, CursorArrowIcon, + ImageIcon, Pencil1Icon, Pencil2Icon, TextIcon, @@ -12,7 +13,7 @@ import { useTldrawApp } from '~hooks' import { ToolButtonWithTooltip } from '~components/Primitives/ToolButton' import { Panel } from '~components/Primitives/Panel' import { ShapesMenu } from './ShapesMenu' -import { EraserIcon, ImageIcon } from '~components/Primitives/icons' +import { EraserIcon } from '~components/Primitives/icons' const activeToolSelector = (s: TDSnapshot) => s.appState.activeTool const toolLockedSelector = (s: TDSnapshot) => s.appState.isToolLocked