pdf viewer to editor

This commit is contained in:
Timur Ercan
2023-02-13 16:11:53 +01:00
parent d75c7bef20
commit 765c8c1ea6
2 changed files with 7 additions and 4 deletions

View File

@ -17,9 +17,12 @@ import { Document as PrismaDocument } from "@prisma/client";
import { Button, Breadcrumb } from "@documenso/ui";
import short from "short-uuid";
const PDFViewer = dynamic(() => import("../../../components/pdf-viewer"), {
ssr: false,
});
const PDFViewer = dynamic(
() => import("../../../components/editor/pdf-viewer"),
{
ssr: false,
}
);
const DocumentsDetailPage: NextPageWithLayout = (props: any) => {
const router = useRouter();