diff --git a/frontend/src/components/TextToSpeech/ElevenLabsOptions/index.jsx b/frontend/src/components/TextToSpeech/ElevenLabsOptions/index.jsx index d1a0d48b0..2b19dd98a 100644 --- a/frontend/src/components/TextToSpeech/ElevenLabsOptions/index.jsx +++ b/frontend/src/components/TextToSpeech/ElevenLabsOptions/index.jsx @@ -3,7 +3,9 @@ import System from "@/models/system"; export default function ElevenLabsOptions({ settings }) { const [inputValue, setInputValue] = useState(settings?.TTSElevenLabsKey); - const [openAIKey, setOpenAIKey] = useState(settings?.TTSElevenLabsKey); + const [elevenLabsKey, setElevenLabsKey] = useState( + settings?.TTSElevenLabsKey + ); return (