From 0db2014164ad904ee2a7b1f55a8f4140334da577 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 22 Apr 2025 09:58:59 +0800 Subject: [PATCH] . --- components/setup/api-step.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/setup/api-step.tsx b/components/setup/api-step.tsx index b9d22de..3d0ee1c 100644 --- a/components/setup/api-step.tsx +++ b/components/setup/api-step.tsx @@ -2,6 +2,7 @@ import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { FC } from "react" import { Button } from "../ui/button" +import { useTranslation } from 'react-i18next' interface APIStepProps { openaiAPIKey: string @@ -68,6 +69,8 @@ export const APIStep: FC = ({ onUseAzureOpenaiChange, onOpenrouterAPIKeyChange }) => { + const { t } = useTranslation() + return ( <>