import React from "react"; import { Link, Text, VStack } from "native-base"; import { useFVModalAction } from "../../../hooks/useFVModalAction"; import BasicStyledModal, { ModalFooterCta } from "./BasicStyledModal"; import { TxModal } from "./TxModal"; const ModalContent = () => ( {`You’re almost there! To claim G$, you need prove you are a unique human.`} {`You’ll be asked to sign with your wallet to begin the verification. You may have to do this again from time to time.`} Learn more ); export const VerifyUniqueModal = ({ open, url, onClose, chainId, firstName, method, ...props }: any) => { const { loading, verify } = useFVModalAction({ firstName, method, chainId, onClose: onClose, redirectUrl: url }); return ( <> {!loading ? ( } footer={} withOverlay="dark" withCloseButton /> ) : ( )} ); };