We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c3129 commit 6a9e08bCopy full SHA for 6a9e08b
src/components/layout.js
@@ -59,7 +59,10 @@ const Layout = ({
59
</div>
60
),
61
pre: (props) => (
62
- <CodeBlock {...props} codeLanguages={katacodaPanelData.codelanguages} />
+ <CodeBlock
63
+ {...props}
64
+ codeLanguages={katacodaPanelData?.codelanguages}
65
+ />
66
67
h2: (props) => <h2 {...props} className="mt-5" />, // eslint-disable-line jsx-a11y/heading-has-content
68
h3: (props) => <h3 {...props} className="mt-4-5" />, // eslint-disable-line jsx-a11y/heading-has-content
0 commit comments