Skip to content

Commit

Permalink
fix: prettier error
Browse files Browse the repository at this point in the history
  • Loading branch information
chershentan committed May 17, 2024
1 parent 8c8c425 commit cae9d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/renderer/PdfRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Document, Page, pdfjs } from "react-pdf";
import { repeat } from "../../utils";
import { Renderer } from "../../types";
import "react-pdf/dist/Page/TextLayer.css";
import "react-pdf/dist/Page/AnnotationLayer.css"
import "react-pdf/dist/Page/AnnotationLayer.css";

// TODO check this https://github.com/wojtekmaj/react-pdf#browserify-and-others
pdfjs.GlobalWorkerOptions.workerSrc = `//cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdfjs.version}/pdf.worker.js`;
Expand Down

0 comments on commit cae9d66

Please sign in to comment.