Skip to content

Commit

Permalink
website: fix example error. (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 29, 2023
1 parent abd67c6 commit bcced73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ export default function App() {
});
return <code style={{ fontSize: '150%' }} dangerouslySetInnerHTML={{ __html: html }} />;
}
return <code className={String(className)}>{txt}</code>;
return <code className={String(className)}>{children}</code>;
},
},
}}
Expand Down

1 comment on commit bcced73

@vercel
Copy link

@vercel vercel bot commented on bcced73 Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.