mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat: add placeholder for OPENAI_API_KEY input (#3486)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user