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 (
|
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,
|
||||||
|
|||||||
Reference in new issue
Block a user