diff --git a/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedMetadata.tsx b/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedMetadata.tsx index 7d9627cbca..e88dfdd98e 100644 --- a/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedMetadata.tsx +++ b/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedMetadata.tsx @@ -29,7 +29,7 @@ export const formatMetadata = async ( const metadata674 = await generalTransactionMetadata?.get(await csl.BigNum.fromStr('674')) if (metadata674) { const decodedMetadata = await csl.decodeMetadatumToJsonStr(metadata674, MetadataJsonSchema.BasicConversions) - const msg = [parseMsg(JSON.parse(decodedMetadata)?.msg)] + const msg = [parseMsg(JSON.parse(decodedMetadata)?.msg ?? [])] metadata = {msg} }