Skip to content

Commit

Permalink
remove store
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeesun Kim authored and Jeesun Kim committed Mar 14, 2024
1 parent a65f1ce commit 99bfd8f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/GenerateKeypair.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Icon, Input } from "@stellar/design-system";
import { useStore } from "@/store/useStore";

export const GenerateKeypair = ({
publicKey,
Expand All @@ -8,17 +7,15 @@ export const GenerateKeypair = ({
publicKey: string;
secretKey: string;
}) => {
const { account } = useStore();

return (
<div className="Account__keypair">
{account.publicKey && (
{publicKey && (
<Input
readOnly
id="generate-keypair-publickey"
fieldSize="md"
label="Public Key"
value={account.publicKey}
value={publicKey}
copyButton={{
position: "right",
}}
Expand Down

0 comments on commit 99bfd8f

Please sign in to comment.