mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36: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 { DocumentSidebarMenuSelection } from '../types'
|
||||||
import { ImportMarkdownSidebarEntry } from './import-markdown-sidebar-entry'
|
import { ImportMarkdownSidebarEntry } from './import-markdown-sidebar-entry'
|
||||||
import React, { Fragment, useCallback } from 'react'
|
import React, { Fragment, useCallback } from 'react'
|
||||||
import {
|
import { ArrowLeft as IconArrowLeft, CloudUpload as IconCloudUpload, Github as IconGithub } from 'react-bootstrap-icons'
|
||||||
ArrowLeft as IconArrowLeft,
|
|
||||||
Clipboard as IconClipboard,
|
|
||||||
CloudUpload as IconCloudUpload,
|
|
||||||
Github as IconGithub
|
|
||||||
} from 'react-bootstrap-icons'
|
|
||||||
import { Trans, useTranslation } from 'react-i18next'
|
import { Trans, useTranslation } from 'react-i18next'
|
||||||
import styles from '../sidebar-button/sidebar-button.module.scss'
|
import styles from '../sidebar-button/sidebar-button.module.scss'
|
||||||
import { concatCssClasses } from '../../../../utils/concat-css-classes'
|
import { concatCssClasses } from '../../../../utils/concat-css-classes'
|
||||||
|
@ -59,9 +54,6 @@ export const ImportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
|
||||||
<SidebarButton icon={IconGitlab} disabled={true}>
|
<SidebarButton icon={IconGitlab} disabled={true}>
|
||||||
Gitlab Snippet
|
Gitlab Snippet
|
||||||
</SidebarButton>
|
</SidebarButton>
|
||||||
<SidebarButton icon={IconClipboard} disabled={true}>
|
|
||||||
<Trans i18nKey={'editor.import.clipboard'} />
|
|
||||||
</SidebarButton>
|
|
||||||
<ImportMarkdownSidebarEntry />
|
<ImportMarkdownSidebarEntry />
|
||||||
</SidebarMenu>
|
</SidebarMenu>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
|
Loading…
Reference in a new issue