Skip to content

Commit

Permalink
replace anchor tag with button
Browse files Browse the repository at this point in the history
  • Loading branch information
karannakra committed May 18, 2023
1 parent a625c02 commit fa3f4f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/app/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,15 @@ function Interal() {
<tr>
<td className="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8">
No keys are configured,{' '}
<a
href="#"
<button
className="text-blue-500 hover:text-blue-700 underline"
onClick={(e) => {
e.preventDefault();
toggleShowAddKey();
}}
>
add one
</a>{' '}
</button>{' '}
to start using prompts.
</td>
</tr>
Expand Down

0 comments on commit fa3f4f7

Please sign in to comment.