Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Sep 1, 2024
1 parent 5982328 commit b6922f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/Identifiers/Attestation/Attestation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Attestation() {
const [activeStep, setActiveStep] = useState<number>(0);
const { provider } = useParams<{ provider: Provider }>();
const [attestedSignutare, setAttestedSignature] =
useState<AttestPayload | null>();
useState<AttestPayload | null>(null);

const handleNextStep = () => {
setActiveStep((prevStep) => prevStep + 1);
Expand Down
2 changes: 1 addition & 1 deletion src/services/eas.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class EASService {

const convertedPayload = this.convertStringsToBigInts(
attestationPayload
) as DelegatedAttestationRequest;
) as AttestPayload;
const attestationRequest =
EASService.prepareAttestationRequest(convertedPayload);

Expand Down

0 comments on commit b6922f0

Please sign in to comment.