Skip to content

Commit

Permalink
Merge pull request #6176 from LedgerHQ/bugfix/LIVE-11270
Browse files Browse the repository at this point in the history
fix: LLD wallet connect deep link handling for requests [LIVE-11270]
  • Loading branch information
Justkant authored Feb 13, 2024
2 parents 7716400 + 9f4946e commit acbc4f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/big-cobras-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

fix: LLD wallet connect deep link handling for requests again [LIVE-11270]
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export function useDeepLinkHandler() {
if (location.pathname === "/platform/ledger-wallet-connect") {
try {
// Prevent a request from updating the live-app url and reloading it
if (query.uri && new URL(query.uri).searchParams.get("requestId")) {
if (!query.uri || new URL(query.uri).searchParams.get("requestId")) {
return;
}
} catch {
Expand Down

0 comments on commit acbc4f4

Please sign in to comment.