mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
9c8c4c83f6
commit
f2a09a457f
5 changed files with 183 additions and 184 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue