Skip to content

Commit 7193796

Browse files
Merge pull request #506 from mosugi/fix-code-not-displayed
2 parents 6e5aa56 + b114c00 commit 7193796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/NotionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import styles from './styles.module.css'
3535
const Code = dynamic(() =>
3636
import('react-notion-x/build/third-party/code').then(async (m) => {
3737
// add / remove any prism syntaxes here
38-
await Promise.all([
38+
await Promise.allSettled([
3939
import('prismjs/components/prism-markup-templating.js'),
4040
import('prismjs/components/prism-markup.js'),
4141
import('prismjs/components/prism-bash.js'),

0 commit comments

Comments
 (0)