refactor some verbiage & look-and-feel

This commit is contained in:
2024-11-30 13:16:58 -07:00
parent 8f10904464
commit 1714f4d087
4 changed files with 79 additions and 46 deletions

View File

@@ -348,9 +348,9 @@ export function offerGiverDid(
export const canFulfillOffer = (
veriClaim: GenericCredWrapper<GenericVerifiableCredential>,
) => {
return !!(
return (
veriClaim.claimType === "Offer" &&
offerGiverDid(veriClaim as GenericCredWrapper<OfferVerifiableCredential>)
!!offerGiverDid(veriClaim as GenericCredWrapper<OfferVerifiableCredential>)
);
};