Skip to content

Commit

Permalink
fix: fixed code snippet
Browse files Browse the repository at this point in the history
Cayla Hamann committed Jul 14, 2020

Verified

This commit was signed with the committer’s verified signature.
zstix Zack Stickles
1 parent cfa2601 commit 6c153c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/MDXContainer.js
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ import Caution from './Caution';
import Important from './Important';
import Tip from './Tip';
import Intro from './Intro';
import CodeSnippet from './CodeSnippet';
import MDXCodeBlock from './MDXCodeBlock';

import styles from './MDXContainer.module.scss';

@@ -23,7 +23,8 @@ const components = {
Important,
Tip,
Intro,
code: (props) => <CodeSnippet {...props} />,
code: MDXCodeBlock,
pre: (props) => props.children,
};

const MDXContainer = ({ className, children }) => {

0 comments on commit 6c153c4

Please sign in to comment.