Skip to content

Commit d946b3b

Browse files
authored
fix for code coloring (#111)
1 parent 67aff19 commit d946b3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ export default function Home() {
119119
<section className="padding-vert--md container">
120120
<div className="row">
121121
<div className={`col col--6 ${styles.example}`}>
122-
<CodeBlock className="typescript">{exampleSource}</CodeBlock>
122+
<CodeBlock language="typescript">{exampleSource}</CodeBlock>
123123
</div>
124124
<div className={`col col--6 ${styles.example}`}>
125-
<CodeBlock className="lua">{exampleOutput}</CodeBlock>
125+
<CodeBlock language="lua">{exampleOutput}</CodeBlock>
126126
</div>
127127
</div>
128128
</section>

0 commit comments

Comments
 (0)