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 && ( )}