diff --git a/pages/org/quotient/index.jsx b/pages/org/quotient/index.jsx index 1b9dba4..0d723de 100644 --- a/pages/org/quotient/index.jsx +++ b/pages/org/quotient/index.jsx @@ -99,14 +99,7 @@ const QuotientBankForm = () => { function getBiometricalData() { if (retrievedData !== null) { const credential = retrievedData.credentials.find((obj) => Object.prototype.hasOwnProperty.call(obj.credentialSubject, 'biometric')); - - // TODO: get wallet to return a string rather than a boolean so we don't have to do this hack - const biometric = credential?.credentialSubject?.biometric; - - if (biometric) { - biometric.data = biometric.data?.toString(); - return biometric; - } + if (credential) return credential.credentialSubject.biometric; } return null; }