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, ],