diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index 6f0e2f9..1d53037 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -42,27 +42,24 @@ import styles from './styles.module.css' // ----------------------------------------------------------------------------- const Code = dynamic(() => - import('react-notion-x/build/esm/third-party/code').then((m) => m.Code) + import('react-notion-x/build/third-party/code').then((m) => m.Code) ) const Collection = dynamic(() => - import('react-notion-x/build/esm/third-party/collection').then( + import('react-notion-x/build/third-party/collection').then( (m) => m.Collection ) ) const Equation = dynamic(() => - import('react-notion-x/build/esm/third-party/equation').then( - (m) => m.Equation - ) + import('react-notion-x/build/third-party/equation').then((m) => m.Equation) ) const Pdf = dynamic( - () => import('react-notion-x/build/esm/third-party/pdf').then((m) => m.Pdf), + () => import('react-notion-x/build/third-party/pdf').then((m) => m.Pdf), { ssr: false } ) const Modal = dynamic( - () => - import('react-notion-x/build/esm/third-party/modal').then((m) => m.Modal), + () => import('react-notion-x/build/third-party/modal').then((m) => m.Modal), { ssr: false }