Skip to content

Commit bfe935e

Browse files
authored
chore: update CodeBlock.tsx
langauge -> language
1 parent 73532e4 commit bfe935e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/common/CodeBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const CodeBlock = memo(({ source, forceWrap = false }: CodeBlockProps) => {
120120
if (!node.lang) {
121121
node.lang = "javascript"
122122
} else if (node.lang.includes(".")) {
123-
// if the langauge is a file, get the extension
123+
// if the language is a file, get the extension
124124
node.lang = node.lang.split(".").slice(-1)[0]
125125
}
126126
})

0 commit comments

Comments
 (0)