fix(sidebar): Remove pdf export entry

The URL that is used in this entry doesn't exist anymore.
We don't plan to implement pdf export with 2.0 anyway so this entry isn't needed.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-10-16 20:52:42 +02:00
parent 4bca95d473
commit 14abab657d
3 changed files with 0 additions and 12 deletions

View file

@ -6,7 +6,6 @@
import React, { Fragment, useCallback } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import links from '../../../../links.json'
import { ExportMarkdownSidebarEntry } from './export-markdown-sidebar-entry'
import { SidebarButton } from '../sidebar-button/sidebar-button'
import { SidebarMenu } from '../sidebar-menu/sidebar-menu'
@ -56,15 +55,6 @@ export const ExportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
<SidebarButton icon={'file-code-o'}>
<Trans i18nKey='editor.export.rawHtml' />
</SidebarButton>
<SidebarButton icon={'file-pdf-o'}>
<a className='small text-muted' dir={'auto'} href={links.faq} target={'_blank'} rel='noopener noreferrer'>
<Trans i18nKey={'editor.export.pdf'} />
&nbsp;
<span className={'text-primary'}>
<Trans i18nKey={'common.why'} />
</span>
</a>
</SidebarButton>
</SidebarMenu>
</Fragment>
)