Skip to content

Commit

Permalink
Fix/permissions (#71)
Browse files Browse the repository at this point in the history
* add base sepolia

* remove logs

* fix
  • Loading branch information
mehdi-torabiv authored Nov 27, 2024
1 parent e5910a6 commit 3ec1bb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/Permissions/Permissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,14 @@ export function Permissions() {
const decodedData = decodeAttestationData(attestation.data);

const keyData = decodedData.find((field) => field.name === 'key');
const provider = decodedData.find((field) => field.name === 'provider');

return {
...attestation,
provider:
typeof provider?.value.value === 'string'
? provider.value.value
: undefined,
key:
typeof keyData?.value.value === 'string'
? keyData.value.value
Expand Down

0 comments on commit 3ec1bb0

Please sign in to comment.