docs: fix code tabs in production (#10784)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-12-31 16:08:04 +02:00
1 parent 1ef3e4b8de
commit a0a94d5030
1 file changed
+2 -2
@@ -117,8 +117,8 @@ export const CodeTabs = ({
if ( if (
typeof codeBlock.type !== "string" && typeof codeBlock.type !== "string" &&
"name" in codeBlock.type && (("name" in codeBlock.type && codeBlock.type.name === "CodeBlock") ||
codeBlock.type.name === "CodeBlock" "source" in codeBlockProps)
) { ) {
codeBlockProps = { codeBlockProps = {
...codeBlockProps, ...codeBlockProps,