Skip to content

Commit 4feb7cf

Browse files
Copilothotlong
andcommitted
fix: Add type assertion for MDX components to resolve React 19 compatibility
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent fd8f530 commit 4feb7cf

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

apps/docs/mdx-components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ export function useMDXComponents(components: MDXComponents): MDXComponents {
55
return {
66
...defaultComponents,
77
...components,
8-
};
8+
} as MDXComponents;
99
}

content/docs/references/contracts/meta.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)