chore: ⬆️ Upgrade dependencies

This commit is contained in:
Jesse Wierzbinski 2025-12-18 22:49:43 +01:00
parent 9c8c4c83f6
commit f2a09a457f
No known key found for this signature in database
5 changed files with 183 additions and 184 deletions

View file

@ -144,7 +144,7 @@ function CodePanel({
label?: string;
code?: string;
}) {
const child = Children.only(children) as ReactNode & { props: any };
const child = children as ReactNode & { props: any };
if (isValidElement(child)) {
tag = child.props.tag ?? tag;