diff --git a/packages/web/pages/[username]/[slug]/index.tsx b/packages/web/pages/[username]/[slug]/index.tsx index 15bf39930..de377c0a2 100644 --- a/packages/web/pages/[username]/[slug]/index.tsx +++ b/packages/web/pages/[username]/[slug]/index.tsx @@ -39,7 +39,7 @@ import { import { useGetViewer } from '../../../lib/networking/viewer/useGetViewer' const PdfArticleContainerNoSSR = dynamic( - () => 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 } )