@orderly.network/wallet-connector-privy 2.6.3 → 2.7.0

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.mjs CHANGED
@@ -1552,7 +1552,9 @@ function SOLConnectArea({
1552
1552
  /* @__PURE__ */ React19.createElement("div", { className: "oui-text-2xs oui-text-base-contrast" }, item.adapter.name)
1553
1553
  ))));
1554
1554
  }
1555
- function EVMConnectArea({ connect }) {
1555
+ function EVMConnectArea({
1556
+ connect
1557
+ }) {
1556
1558
  const { connectors } = useWagmiWallet();
1557
1559
  const { setOpenConnectDrawer } = useWalletConnectorPrivy();
1558
1560
  const { isMobile } = useScreen();
@@ -1562,7 +1564,7 @@ function EVMConnectArea({ connect }) {
1562
1564
  setOpenConnectDrawer(false);
1563
1565
  }
1564
1566
  }
1565
- connect(connect(item));
1567
+ connect(item);
1566
1568
  };
1567
1569
  return /* @__PURE__ */ React19.createElement("div", { className: "" }, /* @__PURE__ */ React19.createElement("div", { className: "oui-mb-2 oui-text-sm oui-font-semibold oui-text-base-contrast-80" }, "EVM"), /* @__PURE__ */ React19.createElement("div", { className: "oui-grid oui-grid-cols-2 oui-gap-2" }, connectors.map((item, key) => /* @__PURE__ */ React19.createElement(
1568
1570
  "div",
@@ -2818,7 +2820,7 @@ var RenderUserCenter = (props) => {
2818
2820
  }).catch((e) => void 0);
2819
2821
  }
2820
2822
  },
2821
- t("connector.connectWallet")
2823
+ isMobile ? t("connector.connect") : t("connector.connectWallet")
2822
2824
  );
2823
2825
  }
2824
2826
  if (!wallet) {