mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
refactor: input component (#2999)
This commit is contained in:
@@ -12,7 +12,7 @@ export const DebugContent: PluginUIAdapter['debugContent'] = () => {
|
||||
<div>
|
||||
<span>OpenAI API Key:</span>
|
||||
<Input
|
||||
value={key ?? ''}
|
||||
defaultValue={key ?? undefined}
|
||||
onChange={useCallback(
|
||||
(newValue: string) => {
|
||||
setKey(newValue);
|
||||
|
||||
Reference in New Issue
Block a user