From 8f1546e920e6a02d696c6fcd8799973b1d6a9b0f Mon Sep 17 00:00:00 2001 From: Iveta Date: Wed, 8 Jan 2025 13:31:51 -0500 Subject: [PATCH] Sign with Ledger: Better error message when app not selected (#1220) --- src/app/(sidebar)/transaction/sign/components/Overview.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/(sidebar)/transaction/sign/components/Overview.tsx b/src/app/(sidebar)/transaction/sign/components/Overview.tsx index 5f8049cb..a0ce78c7 100644 --- a/src/app/(sidebar)/transaction/sign/components/Overview.tsx +++ b/src/app/(sidebar)/transaction/sign/components/Overview.tsx @@ -338,7 +338,13 @@ export const Overview = () => { ); signature = ledgerSig ?? []; + errorMsg = error || ""; + + if (errorMsg.includes("0x6511")) { + errorMsg = + "Please select Stellar app on the Ledger device and try again"; + } } if (selectedHardware === "ledger_hash") {