enhancement(sidebar): remove useless import from clipboard btn

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2024-03-23 00:34:10 +01:00
parent 2473075a33
commit 5fd8c02637

View file

@ -11,12 +11,7 @@ import type { SpecificSidebarMenuProps } from '../types'
import { DocumentSidebarMenuSelection } from '../types'
import { ImportMarkdownSidebarEntry } from './import-markdown-sidebar-entry'
import React, { Fragment, useCallback } from 'react'
import {
ArrowLeft as IconArrowLeft,
Clipboard as IconClipboard,
CloudUpload as IconCloudUpload,
Github as IconGithub
} from 'react-bootstrap-icons'
import { ArrowLeft as IconArrowLeft, CloudUpload as IconCloudUpload, Github as IconGithub } from 'react-bootstrap-icons'
import { Trans, useTranslation } from 'react-i18next'
import styles from '../sidebar-button/sidebar-button.module.scss'
import { concatCssClasses } from '../../../../utils/concat-css-classes'
@ -59,9 +54,6 @@ export const ImportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
<SidebarButton icon={IconGitlab} disabled={true}>
Gitlab Snippet
</SidebarButton>
<SidebarButton icon={IconClipboard} disabled={true}>
<Trans i18nKey={'editor.import.clipboard'} />
</SidebarButton>
<ImportMarkdownSidebarEntry />
</SidebarMenu>
</Fragment>