feat: add placeholder for OPENAI_API_KEY input (#3486)

This commit is contained in:
Chi Zhang authored and GitHub committed 2023-07-31 17:35:53 +00:00
1 parent 452c780d40
commit c8b2728e27
3 files changed
+15 -1

No files matched your search

+3
View File
@@ -11,6 +11,8 @@ export const DebugContent = (): ReactElement => {
<div>
<FlexWrapper justifyContent="space-between">
<Input
width={280}
height={32}
defaultValue={key ?? undefined}
onChange={useCallback(
(newValue: string) => {
@@ -18,6 +20,7 @@ export const DebugContent = (): ReactElement => {
},
[setKey]
)}
placeholder="Enter your API_KEY here"
/>
<Button
size="large"