import { motion } from 'framer-motion' import { Direction, ModalId, replaceModal } from '../../redux/features/modals.slice'; import { useAppDispatch, useAppSelector } from '../../utils/hooks'; import { ModalCard, modalCardVariants } from '../Shared/ModalsContainer/ModalsContainer' import { useCallback, useEffect } from 'react'; import { IoClose } from 'react-icons/io5'; export default function Claim_GenerateSignatureCard({ onClose, direction, ...props }: ModalCard) { const dispatch = useAppDispatch(); const { projectName, image } = useAppSelector(state => ({ projectName: state.project.project?.title, image: state.project.project?.thumbnail_image, })) const handleNext = useCallback(() => { dispatch(replaceModal({ modalId: ModalId.Claim_CopySignature, direction: Direction.NEXT })) }, [dispatch]) useEffect(() => { // const timeout = setTimeout(handleNext, 3000) // return () => clearTimeout(timeout) }, [handleNext]) //const onCopy = () => { // // Copy to Clipboard // setTimeout(handleNext, 2000) //} return (

Claim this project

To claim ownership of {projectName} and its tips, you need to sign a message and paste this on the project website so we can verify you are the real ownership

) }