Skip to content

Commit

Permalink
Update src/components/GenerateKeypair.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Iveta <quietbits@users.noreply.github.com>
  • Loading branch information
2 people authored and Jeesun Kim committed Mar 14, 2024
1 parent dd94717 commit 1499bbb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/components/GenerateKeypair.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@ export const GenerateKeypair = () => {
fieldSize="md"
label="Public Key"
value={account.keypair.publicKey}
rightElement={
<Icon.Copy01
onClick={() => {
navigator.clipboard.writeText(account.keypair.publicKey);
}}
/>
}
copyButton={{
position: "right",
}}
/>
)}

Expand Down

0 comments on commit 1499bbb

Please sign in to comment.