diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index 9e88530..3cbbe2b 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -35,7 +35,7 @@ import styles from './styles.module.css' const Code = dynamic(() => import('react-notion-x/build/third-party/code').then(async (m) => { // add / remove any prism syntaxes here - await Promise.all([ + await Promise.allSettled([ import('prismjs/components/prism-markup-templating.js'), import('prismjs/components/prism-markup.js'), import('prismjs/components/prism-bash.js'),