mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
pdf viewer to editor
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { Fragment, useState } from "react";
|
||||
import { Document, Page } from "react-pdf/dist/esm/entry.webpack5";
|
||||
import Field from "./editor/field";
|
||||
import Field from "./field";
|
||||
import short from "short-uuid";
|
||||
import { Button } from "@documenso/ui";
|
||||
const stc = require("string-to-color");
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user