Skip to content

Commit bcced73

Browse files
committed
website: fix example error. (#576)
1 parent abd67c6 commit bcced73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ export default function App() {
563563
});
564564
return <code style={{ fontSize: '150%' }} dangerouslySetInnerHTML={{ __html: html }} />;
565565
}
566-
return <code className={String(className)}>{txt}</code>;
566+
return <code className={String(className)}>{children}</code>;
567567
},
568568
},
569569
}}

0 commit comments

Comments
 (0)