Skip to content

Commit e4f47c1

Browse files
linting
1 parent 56793ed commit e4f47c1

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

frontend/src/components/EmbeddingSelection/MistralAiOptions/index.jsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ export default function MistralAiOptions({ settings }) {
2828
className="bg-theme-settings-input-bg border-gray-500 text-white text-sm rounded-lg block w-full p-2.5"
2929
>
3030
<optgroup label="Available embedding models">
31-
{[
32-
"mistral-embed",
33-
].map((model) => {
31+
{["mistral-embed"].map((model) => {
3432
return (
3533
<option key={model} value={model}>
3634
{model}

frontend/src/locales/resources.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import Italian from "./it/common.js";
2525
import Portuguese from "./pt_BR/common.js";
2626
import Hebrew from "./he/common.js";
2727
import Dutch from "./nl/common.js";
28-
import Vietnamese from "./vn/common.js";
28+
import Vietnamese from "./vn/common.js";
2929
import TraditionalChinese from "./zh_TW/common.js";
3030

3131
export const defaultNS = "common";
@@ -66,8 +66,7 @@ export const resources = {
6666
nl: {
6767
common: Dutch,
6868
},
69-
vi: {
69+
vi: {
7070
common: Vietnamese,
7171
},
72-
7372
};

frontend/src/locales/vn/common.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ const TRANSLATIONS = {
5858
},
5959
"password-reset": {
6060
title: "Mật khẩu Đặt lại",
61-
description:
62-
"Cung cấp thông tin cần thiết dưới đây để đặt lại mật khẩu.",
61+
description: "Cung cấp thông tin cần thiết dưới đây để đặt lại mật khẩu.",
6362
"recovery-codes": "Mã khôi phục",
6463
"recovery-code": "Mã khôi phục {{index}}",
6564
"back-to-login": "Back to Đăng nhập",

server/utils/EmbeddingEngines/mistral/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ class MistralEmbedder {
4040

4141
module.exports = {
4242
MistralEmbedder,
43-
};
43+
};

0 commit comments

Comments
 (0)