From 2cbabf26689073be9c756ce8fd800d7a97432104 Mon Sep 17 00:00:00 2001 From: banklesss <105349292+banklesss@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:36:56 +0100 Subject: [PATCH] Update apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedMetadata.tsx Signed-off-by: banklesss <105349292+banklesss@users.noreply.github.com> --- .../src/features/ReviewTx/common/hooks/useFormattedMetadata.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c1ecf444d7..905ffcaa79 100644 --- a/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedMetadata.tsx +++ b/apps/wallet-mobile/src/features/ReviewTx/common/hooks/useFormattedMetadata.tsx @@ -47,7 +47,7 @@ const parseMsg = (msg: Array) => { try { return JSON.parse(msg.join('')) } catch { - return msg[0] + return '' } } return msg[0]