diff --git a/src/pages/Identifiers/Attestation/Attestation.tsx b/src/pages/Identifiers/Attestation/Attestation.tsx index 2d240ca..c2f26b0 100644 --- a/src/pages/Identifiers/Attestation/Attestation.tsx +++ b/src/pages/Identifiers/Attestation/Attestation.tsx @@ -19,7 +19,7 @@ export default function Attestation() { const [activeStep, setActiveStep] = useState(0); const { provider } = useParams<{ provider: Provider }>(); const [attestedSignutare, setAttestedSignature] = - useState(); + useState(null); const handleNextStep = () => { setActiveStep((prevStep) => prevStep + 1); diff --git a/src/services/eas.service.ts b/src/services/eas.service.ts index ead4b29..bbfae19 100644 --- a/src/services/eas.service.ts +++ b/src/services/eas.service.ts @@ -145,7 +145,7 @@ class EASService { const convertedPayload = this.convertStringsToBigInts( attestationPayload - ) as DelegatedAttestationRequest; + ) as AttestPayload; const attestationRequest = EASService.prepareAttestationRequest(convertedPayload);