From f89a03296040e6935805faeccac7da4275440cae Mon Sep 17 00:00:00 2001 From: Abid Ra Date: Mon, 20 Mar 2023 11:19:57 +0700 Subject: [PATCH] docs: update readme follow the latest file changes Since we already import the style on _app.js, we don't need to import it again in index.js --- nextjs/README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/nextjs/README.md b/nextjs/README.md index e0a8325..169f51b 100644 --- a/nextjs/README.md +++ b/nextjs/README.md @@ -38,9 +38,6 @@ import '@react-pdf-viewer/default-layout/lib/styles/index.css'; import { Viewer, Worker } from '@react-pdf-viewer/core'; import { defaultLayoutPlugin } from '@react-pdf-viewer/default-layout'; -import '@react-pdf-viewer/core/lib/styles/index.css'; -import '@react-pdf-viewer/default-layout/lib/styles/index.css'; - const defaultLayoutPluginInstance = defaultLayoutPlugin(); return (