From 64cac62260ac0e8db1784995d8af7f790f05bd0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Leszczyk?= Date: Fri, 20 Dec 2024 20:31:24 +0100 Subject: [PATCH] fix: prompting invalid ledger app (#116) --- src/pages/ApproveAction/GenericApprovalScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ApproveAction/GenericApprovalScreen.tsx b/src/pages/ApproveAction/GenericApprovalScreen.tsx index f4d436bb..a7d1111f 100644 --- a/src/pages/ApproveAction/GenericApprovalScreen.tsx +++ b/src/pages/ApproveAction/GenericApprovalScreen.tsx @@ -99,7 +99,7 @@ export function GenericApprovalScreen() { }, [requestId, updateAction, isUsingLedgerWallet, isUsingKeystoneWallet]); // Make the user switch to the correct app or close the window - useLedgerDisconnectedDialog(handleRejection); + useLedgerDisconnectedDialog(handleRejection, undefined, network); if (!action || !displayData) { return ;