Skip to content

Commit

Permalink
removed unused imports
Browse files Browse the repository at this point in the history
Co-authored-by: kazupot7 <[email protected]>
Co-authored-by: glory1001 <[email protected]>
  • Loading branch information
glory1001 and kazupot7 committed Aug 16, 2024
1 parent 3e4e32e commit 6027e85
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/UpdateMetadata.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import { FC, useCallback, useState } from 'react';
import { useConnection, useWallet } from '@solana/wallet-adapter-react';
import { Keypair, SystemProgram, Transaction, PublicKey } from '@solana/web3.js';
import { MINT_SIZE, TOKEN_PROGRAM_ID, createInitializeMintInstruction, getMinimumBalanceForRentExemptMint, getAssociatedTokenAddress, createAssociatedTokenAccountInstruction, createMintToInstruction } from '@solana/spl-token';
import { Transaction, PublicKey } from '@solana/web3.js';
import {
DataV2,
createCreateMetadataAccountV2Instruction,
createUpdateMetadataAccountV2Instruction,
} from "@metaplex-foundation/mpl-token-metadata";
import { findMetadataPda } from '@metaplex-foundation/js';
import { updateAuthority } from '@metaplex-foundation/js/dist/types/plugins/candyMachineModule/Client.update';

export const UpdateMetadata: FC = () => {
const { connection } = useConnection();
Expand All @@ -17,8 +14,7 @@ export const UpdateMetadata: FC = () => {
const [tokenName, setTokenName] = useState('')
const [symbol, setSymbol] = useState('')
const [metadata, setMetadata] = useState('')
const [decimals, setDecimals] = useState('')
const [amount, setAmount] = useState('')


const onClick = useCallback(async (form) => {
const mint = new PublicKey(form.tokenMint)
Expand Down

0 comments on commit 6027e85

Please sign in to comment.