Skip to content

Commit b4ac976

Browse files
committed
Add ts ignores
1 parent c1e0d0f commit b4ac976

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

apps/www/components/CodeBlock/CodeBlock.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ function CodeBlock(props: CodeBlockProps) {
8787
</div>
8888
)}
8989
<div className="relative">
90+
{/* @ts-ignore */}
9091
<SyntaxHighlighter
9192
language={lang}
9293
style={monokaiCustomTheme}

apps/www/components/MadeForDevelopers/CodeExamples.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ const CodeExamples = () => {
150150
</div>
151151
<SyntaxHighlighter
152152
language="javascript"
153+
// @ts-ignore
153154
style={monokaiCustomTheme}
154155
className="rounded-b-lg"
155156
customStyle={{

packages/ui/src/components/CodeBlock/CodeBlock.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export const CodeBlock = ({
8989
)}
9090
{className ? (
9191
<div className="relative max-w-[90vw] md:max-w-none overflow-auto">
92+
{/* @ts-ignore */}
9293
<SyntaxHighlighter
9394
language={lang}
9495
wrapLines={true}

0 commit comments

Comments
 (0)