Do not display left side article actions for PDFs

This commit is contained in:
Jackson Harper 2022-04-13 13:50:55 -07:00
parent 3ec84d3f33
commit 9c42d473c1

View file

@ -196,11 +196,13 @@ export default function Home(): JSX.Element {
},
}}
>
<ArticleActionsMenu
article={article}
layout='vertical'
articleActionHandler={actionHandler}
/>
{article.contentReader !== 'PDF' ? (
<ArticleActionsMenu
article={article}
layout='vertical'
articleActionHandler={actionHandler}
/>
) : null}
</VStack>
{article.contentReader == 'PDF' ? (
<PdfArticleContainerNoSSR