diff --git a/explorer/src/components/account/AnchorAccountCard.tsx b/explorer/src/components/account/AnchorAccountCard.tsx index adc3398a04..4a99542261 100644 --- a/explorer/src/components/account/AnchorAccountCard.tsx +++ b/explorer/src/components/account/AnchorAccountCard.tsx @@ -27,7 +27,11 @@ export function AnchorAccountCard({ account }: { account: Account }) { ); if (accountDefTmp) { accountDef = accountDefTmp; - decodedAccountData = coder.decode(accountDef.name, rawData); + try { + decodedAccountData = coder.decode(accountDef.name, rawData); + } catch (err) { + console.log(err); + } } }