From 3d1d00c90d49783daa049c1b320e5d805e600b05 Mon Sep 17 00:00:00 2001 From: Lorenzo Venneri Date: Wed, 7 Aug 2024 15:42:26 +0200 Subject: [PATCH] Issue #1029: removed unused import --- .../admin-ui/src/components/EmbeddingModel.tsx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/js-packages/admin-ui/src/components/EmbeddingModel.tsx b/js-packages/admin-ui/src/components/EmbeddingModel.tsx index 0f4e3f305..66eca19cf 100644 --- a/js-packages/admin-ui/src/components/EmbeddingModel.tsx +++ b/js-packages/admin-ui/src/components/EmbeddingModel.tsx @@ -1,16 +1,8 @@ import { gql } from "@apollo/client"; import { useNavigate, useParams } from "react-router-dom"; import { useToast } from "./ToastProvider"; -import { - useBucketQuery, - useCreateOrUpdateBucketMutation, - useCreateOrUpdateLanguageMutation, - useEmbeddingModelQuery, - useLanguageQuery, - useLargeLanguageModelQuery, -} from "../graphql-generated"; -import { LanguagesQuery } from "./Languages"; -import { ContainerFluid, CustomButtom, MainTitle, TextInput, fromFieldValidators, useForm } from "./Form"; +import { useEmbeddingModelQuery } from "../graphql-generated"; +import { ContainerFluid, MainTitle, TextInput } from "./Form"; import React from "react"; export const EmbeddingModelQuery = gql` @@ -63,9 +55,6 @@ export function EmbeddingModel() { validationMessages={[]} value={apiUrl || ""} /> -
- {/* */} -
);