Skip to content

Commit 6e07c8c

Browse files
add missing MDX component mappings to resolve SSR ReferenceError
1 parent 085a47e commit 6e07c8c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/mdx-components.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ export function useMDXComponents() {
1010
Badge: Badge,
1111
StackBlitzPreview: StackBlitzPreview,
1212
pre: CodeBlockWithCopy,
13+
14+
Node: () => null,
15+
Mode: () => null,
16+
W: () => null,
17+
I: () => null,
1318
};
1419
}

0 commit comments

Comments
 (0)