docs: fix code tabs in production (#10784)
This commit is contained in:
@@ -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