@unlink-xyz/react 0.1.3-canary.4056479 → 0.1.3-canary.5996ef1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -56606,8 +56606,8 @@ function UnlinkProvider({
56606
56606
  setState((prev2) => ({
56607
56607
  ...prev2,
56608
56608
  accounts,
56609
- activeAccount,
56610
- activeAccountIndex
56609
+ activeAccount: activeAccount ?? prev2.activeAccount,
56610
+ activeAccountIndex: activeAccountIndex ?? prev2.activeAccountIndex
56611
56611
  }));
56612
56612
  } catch (err) {
56613
56613
  console.error("[UnlinkProvider] refreshAccounts error", err);