From 4ba90c7ad04d664d1c2476bfc368d733c397117d Mon Sep 17 00:00:00 2001 From: Sidharth Sethi Date: Wed, 4 Oct 2023 00:40:43 +0530 Subject: [PATCH] load api key added settings in starting of the page so thaat we can load api key in starting then proceed --- src/pages/Home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 4eca709..205b4fe 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -21,7 +21,7 @@ function Home() { const { speech, setSpeech, voice, setVoice } = useGlobalStore(); const { sessions, addSession, setCurrentSessionId, currentSessionId } = useSessionStore(); - const [openSetting, setOpenSetting] = useState(false); + const [openSetting, setOpenSetting] = useState(true); const [openAbout, setOpenAbout] = useState(false); const notifyDict = {