diff --git a/agenta-web/src/components/pages/settings/Secrets/Secrets.tsx b/agenta-web/src/components/pages/settings/Secrets/Secrets.tsx index 8298d7085..0558a1301 100644 --- a/agenta-web/src/components/pages/settings/Secrets/Secrets.tsx +++ b/agenta-web/src/components/pages/settings/Secrets/Secrets.tsx @@ -1,12 +1,13 @@ import {useVaultSecret} from "@/hooks/useVaultSecret" -import {getLlmProviderKey, type LlmProvider} from "@/lib/helpers/llmProviders" +import {type LlmProvider} from "@/lib/helpers/llmProviders" import {Button, Input, Space, Typography, message} from "antd" import {useEffect, useState} from "react" const {Title, Text} = Typography export default function Secrets() { - const {secrets, handleModifyVaultSecret, handleDeleteVaultSecret} = useVaultSecret() + const {secrets, handleModifyVaultSecret, handleDeleteVaultSecret, findVaultSecret} = + useVaultSecret() const [llmProviderKeys, setLlmProviderKeys] = useState([]) const [messageAPI, contextHolder] = message.useMessage() @@ -48,7 +49,7 @@ export default function Secrets() {