fix(settings): don't copy the API key every time you press enter on the main settings
This commit is contained in:
@@ -32,6 +32,7 @@ const CopyButton = ({ textToCopy }: { textToCopy: string }) => {
|
||||
setCopied();
|
||||
}}
|
||||
className="input-action"
|
||||
type="button"
|
||||
>
|
||||
<ClipboardDocumentIcon />
|
||||
</button>
|
||||
|
||||
@@ -240,6 +240,7 @@ const SettingsMain = () => {
|
||||
regenerate();
|
||||
}}
|
||||
className="input-action"
|
||||
type="button"
|
||||
>
|
||||
<ArrowPathIcon />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user