import { Form, Step, Stepper } from '@/components'; import { GithubStep } from './github-step'; import { Mint } from './mint.context'; import { NFAStep } from './nfa-step'; import { useMintFormContext } from './nfa-step/form-step'; import { NftMinted } from './nft-minted'; import { MintPreview } from './preview-step/mint-preview'; import { WalletStep } from './wallet-step'; export const MintStepper: React.FC = () => { const { transaction: { isSuccess }, } = Mint.useTransactionContext(); const { form: { isValid: [, setIsValid], }, } = useMintFormContext(); if (!isSuccess) { return ( ); } else { return ; } };