docs: fix code tabs in production (#10784)
This commit is contained in:
1 parent
1ef3e4b8de
commit
a0a94d5030
1 file changed
+2
-2
@@ -117,8 +117,8 @@ export const CodeTabs = ({
|
||||
|
||||
if (
|
||||
typeof codeBlock.type !== "string" &&
|
||||
"name" in codeBlock.type &&
|
||||
codeBlock.type.name === "CodeBlock"
|
||||
(("name" in codeBlock.type && codeBlock.type.name === "CodeBlock") ||
|
||||
"source" in codeBlockProps)
|
||||
) {
|
||||
codeBlockProps = {
|
||||
...codeBlockProps,
|
||||
|
||||
Reference in new issue
Block a user