typo fix
This commit is contained in:
parent
8a688cd85e
commit
25185c1efc
2 changed files with 5 additions and 5 deletions
6
extensions/vscode/package-lock.json
generated
6
extensions/vscode/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "1.1.11",
|
||||
"version": "1.1.12",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "1.1.11",
|
||||
"version": "1.1.12",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@continuedev/fetch": "^1.0.3",
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
"@aws-sdk/client-sagemaker-runtime": "^3.758.0",
|
||||
"@aws-sdk/credential-providers": "^3.758.0",
|
||||
"@continuedev/config-types": "^1.0.13",
|
||||
"@continuedev/config-yaml": "^1.0.60",
|
||||
"@continuedev/config-yaml": "^1.0.63",
|
||||
"@continuedev/fetch": "^1.0.4",
|
||||
"@continuedev/llm-info": "^1.0.2",
|
||||
"@continuedev/openai-adapters": "^1.0.10",
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ interface StyledMarkdownPreviewProps {
|
|||
|
||||
const HLJS_LANGUAGE_CLASSNAME_PREFIX = "language-";
|
||||
|
||||
function getLanuageFromClassName(className: any): string | null {
|
||||
function getLanguageFromClassName(className: any): string | null {
|
||||
if (!className || typeof className !== "string") {
|
||||
return null;
|
||||
}
|
||||
|
|
@ -289,7 +289,7 @@ const StyledMarkdownPreview = memo(function StyledMarkdownPreview(
|
|||
return <SyntaxHighlightedPre {...preProps} />;
|
||||
}
|
||||
|
||||
const language = getLanuageFromClassName(className);
|
||||
const language = getLanguageFromClassName(className);
|
||||
|
||||
// If we don't have a filepath show the more basic toolbar
|
||||
// that is just action buttons on hover.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue