center odf

This commit is contained in:
Timur Ercan
2023-01-24 19:54:00 +01:00
parent 167122d58f
commit 5a2aaad36f

View File

@ -14,7 +14,7 @@ const DocumentsDetailPage: NextPageWithLayout = () => {
const router = useRouter();
return (
<div>
<div className="mx-auto w-fit">
<PDFViewer
pdfUrl={`${NEXT_PUBLIC_WEBAPP_URL}/api/documents/${router.query.id}`}
/>