Skip to content

Commit 2ba457e

Browse files
committed
fix Prism build error
1 parent c24616a commit 2ba457e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules/
22
.DS_Store
3-
.next/
3+
.next/
4+
.vercel

components/CodeBlock.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/* global Prism */
2-
import 'prismjs';
1+
import Prism from 'prismjs';
32

43
import * as React from 'react';
54

0 commit comments

Comments
 (0)