mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Enable Native PDF View for PDFS
This commit is contained in:
parent
ea69eb6b7a
commit
eab1c2a47d
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ import {
|
|||
import { useGetViewer } from '../../../lib/networking/viewer/useGetViewer'
|
||||
|
||||
const PdfArticleContainerNoSSR = dynamic<PdfArticleContainerProps>(
|
||||
() => import(`./../../../components/templates/article/${(process.env.USE_NATIVE_PDF == 'false' || process.env.USE_NATIVE_PDF == undefined) ? 'PDF' : 'Native' }PdfArticleContainer`),
|
||||
() => import(`./../../../components/templates/article/NativePdfArticleContainer`),
|
||||
{ ssr: false }
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue