mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
enhancement(sidebar): remove useless import from clipboard btn
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
2473075a33
commit
5fd8c02637
1 changed files with 1 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue