From cae9d668f0fd019ecab81dc04d2a6001556d6c3f Mon Sep 17 00:00:00 2001 From: Tan Cher Shen Date: Fri, 17 May 2024 10:13:13 +0800 Subject: [PATCH] fix: prettier error --- src/components/renderer/PdfRenderer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/renderer/PdfRenderer.tsx b/src/components/renderer/PdfRenderer.tsx index 9bb81c1..1878746 100644 --- a/src/components/renderer/PdfRenderer.tsx +++ b/src/components/renderer/PdfRenderer.tsx @@ -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`;