@orderly.network/ui-transfer 2.10.1-alpha.0 → 2.10.2-alpha.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.js +4 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -7
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -346,13 +346,13 @@ var BrokerWallet = () => {
|
|
|
346
346
|
const brokerName = hooks.useConfig("brokerName");
|
|
347
347
|
const icon = react.useMemo(() => {
|
|
348
348
|
const { secondary } = appIcons || {};
|
|
349
|
-
if (!secondary?.img && secondary?.component) return null;
|
|
350
349
|
if (secondary?.img) {
|
|
351
|
-
return /* @__PURE__ */ jsxRuntime.jsx("img", { src: secondary?.img, className: "oui-
|
|
350
|
+
return /* @__PURE__ */ jsxRuntime.jsx("img", { src: secondary?.img, className: "oui-size-5" });
|
|
352
351
|
}
|
|
353
352
|
if (secondary?.component) {
|
|
354
353
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: secondary.component });
|
|
355
354
|
}
|
|
355
|
+
return null;
|
|
356
356
|
}, [appIcons]);
|
|
357
357
|
return /* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { justify: "between", children: [
|
|
358
358
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Text, { size: "sm", intensity: 98, children: t("transfer.brokerAccount", { brokerName }) }),
|
|
@@ -2482,9 +2482,6 @@ var useSwapTokens = (chainId, enableSwapDeposit) => {
|
|
|
2482
2482
|
logo_uri: item.logoURI
|
|
2483
2483
|
}));
|
|
2484
2484
|
}, [data]);
|
|
2485
|
-
if (!enableSwapDeposit) {
|
|
2486
|
-
return [];
|
|
2487
|
-
}
|
|
2488
2485
|
return tokens;
|
|
2489
2486
|
};
|
|
2490
2487
|
|
|
@@ -5497,8 +5494,8 @@ var AddWalletDialog = ({
|
|
|
5497
5494
|
onValueChange: onAddressChange,
|
|
5498
5495
|
autoFocus: true,
|
|
5499
5496
|
color: showBorderDanger ? "danger" : void 0,
|
|
5500
|
-
className: ui.cn("oui-bg-
|
|
5501
|
-
classNames: { input: "oui-text-
|
|
5497
|
+
className: ui.cn("oui-bg-base-6 oui-bg-transparent"),
|
|
5498
|
+
classNames: { input: "oui-text-base-contrast" },
|
|
5502
5499
|
suffix: address && /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "oui-ml-2.5 oui-mr-2 oui-cursor-pointer", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5503
5500
|
ui.CloseRoundFillIcon,
|
|
5504
5501
|
{
|