diff --git a/src/app/epub/[id]/page.tsx b/src/app/epub/[id]/page.tsx index 07becf3..96f8b37 100644 --- a/src/app/epub/[id]/page.tsx +++ b/src/app/epub/[id]/page.tsx @@ -15,6 +15,8 @@ import { ZoomControl } from '@/components/ZoomControl'; import { AudiobookExportModal } from '@/components/AudiobookExportModal'; import { DownloadIcon } from '@/components/icons/Icons'; +const isDev = process.env.NEXT_PUBLIC_NODE_ENV !== 'production' || process.env.NODE_ENV == null; + export default function EPUBPage() { const { id } = useParams(); const { setCurrentDocument, currDocName, clearCurrDoc, createFullAudioBook: createEPUBAudioBook, regenerateChapter: regenerateEPUBChapter } = useEPUB(); @@ -143,14 +145,16 @@ export default function EPUBPage() { min={0} max={100} /> - + {isDev && ( + + )} + {isDev && ( + + )}