Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
boudra committed Jan 23, 2024
1 parent f5093e2 commit 9ecf436
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ function ProjectLinks({ project }: { project?: Project }) {
},
} = project ?? { projectMetadata: {} };

// @ts-expect-error Temp until viem (could also cast recipient as Address or update the type)
const ens = useEnsName({ address: recipient, enabled: Boolean(recipient) });

const verified = useVerifyProject(project);
Expand Down Expand Up @@ -638,7 +639,7 @@ async function isVerified(args: {
const { verifiableCredential, provider, project, dataLayer } = args;

const { isVerified: vcHasValidProof } =
await dataLayer.verifyCredential(verifiableCredential);
await dataLayer.verifyPassportCredential(verifiableCredential);

const vcIssuedByValidIAMServer = verifiableCredential.issuer === IAM_SERVER;
const providerMatchesProject = vcProviderMatchesProject(
Expand Down

0 comments on commit 9ecf436

Please sign in to comment.