From 72c6c4c4f1c5f62608c0f0f7814b3b6875a03701 Mon Sep 17 00:00:00 2001 From: chrisduma-ledger Date: Tue, 17 Sep 2024 13:53:55 +0300 Subject: [PATCH] chore: remove guard --- apps/ledger-live-mobile/src/screens/CustomError/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ledger-live-mobile/src/screens/CustomError/index.tsx b/apps/ledger-live-mobile/src/screens/CustomError/index.tsx index 6622ab7843de..89184b7362c5 100644 --- a/apps/ledger-live-mobile/src/screens/CustomError/index.tsx +++ b/apps/ledger-live-mobile/src/screens/CustomError/index.tsx @@ -31,14 +31,14 @@ export default function CustomError({ route }: CustomErrorPropsProps) { {error && "cause" in error && error.cause?.swapCode && ( )} - {error && "message" in error && error?.message && ( + {error && "message" in error && error.message && ( )}