Skip to content

Conversation

@smncd
Copy link
Member

@smncd smncd commented Oct 8, 2025

Add a simple check to make sure that the credential that we're about to parse is actually of the correct type.

This fixes the following exception:

hook.js:608 TypeError: Cannot read properties of undefined (reading 'replace')
    at fromBase64Url (util.ts:136:22)
    at getCredentialStatusIndicators (CredentialStatusIndicatorsRibbon.tsx:42:55)
    at CredentialStatusIndicatorsRibbon (CredentialStatusIndicatorsRibbon.tsx:149:47)

@smncd smncd requested a review from emlun October 8, 2025 13:10
@smncd smncd requested a review from a team as a code owner October 8, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants