fix: typos in docs and code

This commit is contained in:
tszhong0411 committed 2025-01-26 21:06:21 +08:00
1 parent d3d38fd227
commit 6bd6c830fe
9 files changed
+15 -15

No files matched your search

@@ -120,7 +120,7 @@ const CodeBlock = memo(({ source, forceWrap = false }: CodeBlockProps) => {
if (!node.lang) {
node.lang = "javascript"
} else if (node.lang.includes(".")) {
// if the langauge is a file, get the extension
// if the language is a file, get the extension
node.lang = node.lang.split(".").slice(-1)[0]
}
})