From 9d5892327b43e219b3b672e7a56e1e2d6413a83b Mon Sep 17 00:00:00 2001 From: Kant Date: Wed, 28 Aug 2024 17:49:14 +0200 Subject: [PATCH] fix: missing deps in useEffect array And cleanup unused code and picomatch dependency --- .changeset/young-birds-taste.md | 6 ++++++ libs/ledger-live-common/src/wallet-api/useDappLogic.ts | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/young-birds-taste.md diff --git a/.changeset/young-birds-taste.md b/.changeset/young-birds-taste.md new file mode 100644 index 000000000000..de758435a382 --- /dev/null +++ b/.changeset/young-birds-taste.md @@ -0,0 +1,6 @@ +--- +"@ledgerhq/live-common": patch +--- + +fix: missing deps in useEffect array +And cleanup unused code and picomatch dependency diff --git a/libs/ledger-live-common/src/wallet-api/useDappLogic.ts b/libs/ledger-live-common/src/wallet-api/useDappLogic.ts index 48c4994415e2..eead7438ed9a 100644 --- a/libs/ledger-live-common/src/wallet-api/useDappLogic.ts +++ b/libs/ledger-live-common/src/wallet-api/useDappLogic.ts @@ -611,9 +611,11 @@ export function useDappLogic({ currentAccount, currentNetwork, currentParentAccount, + dependencies, manifest, nanoApp, postMessage, + setCurrentAccountHist, tracking, uiHook, ],