Skip to content

Commit

Permalink
fix: don't copy the API key every time you press enter on the main se…
Browse files Browse the repository at this point in the history
…ttings
  • Loading branch information
benbeauchamp7 committed Jan 26, 2025
1 parent 4bd3331 commit 13a0146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Settings/CopyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const CopyButton = ({ textToCopy }: { textToCopy: string }) => {
setCopied();
}}
className="input-action"
type="button"
>
<ClipboardDocumentIcon />
</button>
Expand Down
1 change: 1 addition & 0 deletions src/components/Settings/SettingsMain/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ const SettingsMain = () => {
regenerate();
}}
className="input-action"
type="button"
>
<ArrowPathIcon />
</button>
Expand Down

0 comments on commit 13a0146

Please sign in to comment.