From e7dd34b9aa2320a671dff8cc88a9a43ca3079817 Mon Sep 17 00:00:00 2001 From: Varun Joshi <72180614+VarunJoshi10@users.noreply.github.com> Date: Sun, 16 Jun 2024 19:01:40 +0530 Subject: [PATCH] Update SetAPIKey.tsx --- src/common/SetAPIKey.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/common/SetAPIKey.tsx b/src/common/SetAPIKey.tsx index c81c7a7..6ee73ec 100644 --- a/src/common/SetAPIKey.tsx +++ b/src/common/SetAPIKey.tsx @@ -7,7 +7,7 @@ const ModelDropdown = () => { updateSettings: state.settings.actions.update, })); - const [openAIKey, setOpenAIKey] = React.useState(''); + const [zynapseKey, setzynapseKey] = React.useState(''); const [showPassword, setShowPassword] = React.useState(false); return ( @@ -16,23 +16,23 @@ const ModelDropdown = () => { You'll need an Zynapse Key to run the ZkSurf in developer mode. If you don't already have one available, you can create one in your{' '} - OpenAI account + zynapse account .

ZkSurf stores your API key locally and securely, and it is only used to - communicate with the OpenAI API. + communicate with the zynapse API. setOpenAIKey(event.target.value)} + placeholder="zynapse API Key" + value={zynapseKey} + onChange={(event) => setzynapseKey(event.target.value)} type={showPassword ? 'text' : 'password'} />