import { useAccountQuery } from "@hey/indexer"; import { H4, Spinner } from "@/components/Shared/UI"; import { useSignupStore } from "."; const Minting = () => { const { chosenUsername, setAccountAddress, setScreen, transactionHash } = useSignupStore(); useAccountQuery({ notifyOnNetworkStatusChange: true, onCompleted: (data) => { if (data.account) { setAccountAddress(data.account.address); setScreen("success"); } }, pollInterval: 1500, skip: !transactionHash, variables: { request: { username: { localName: chosenUsername } } } }); return (

We are preparing your account!

This will take a few seconds to a few minutes. Please be patient.
); }; export default Minting;