@orderly.network/trading-rewards 3.0.1 → 3.0.2
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -1313,7 +1313,7 @@ var init_rewardsHistory_ui = __esm({
|
|
|
1313
1313
|
);
|
|
1314
1314
|
};
|
|
1315
1315
|
List = (props) => {
|
|
1316
|
-
const isMobile =
|
|
1316
|
+
const { isMobile } = ui.useScreen();
|
|
1317
1317
|
return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1318
1318
|
ui.ListView,
|
|
1319
1319
|
{
|
|
@@ -1748,7 +1748,7 @@ var HomePage = (props) => {
|
|
|
1748
1748
|
/* @__PURE__ */ jsxRuntime.jsx(React3__default.default.Suspense, { fallback: null, children: /* @__PURE__ */ jsxRuntime.jsx(LazyTitleWidget, {}) }),
|
|
1749
1749
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { className: "oui-flex oui-size-full oui-flex-col oui-gap-4 2xl:oui-flex-row 2xl:oui-items-stretch", children: [
|
|
1750
1750
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "oui-w-full 2xl:oui-size-auto 2xl:oui-flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(React3__default.default.Suspense, { fallback: null, children: /* @__PURE__ */ jsxRuntime.jsx(LazyCurEpochWidget, {}) }) }),
|
|
1751
|
-
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { className: "oui-flex oui-w-full oui-flex-col oui-gap-4
|
|
1751
|
+
/* @__PURE__ */ jsxRuntime.jsxs(ui.Flex, { className: "oui-flex oui-w-full oui-flex-col oui-gap-4 xl:oui-flex-row 2xl:oui-flex-1 2xl:oui-flex-col", children: [
|
|
1752
1752
|
/* @__PURE__ */ jsxRuntime.jsx(React3__default.default.Suspense, { fallback: null, children: /* @__PURE__ */ jsxRuntime.jsx(LazyAvailableToClaimWidget, {}) }),
|
|
1753
1753
|
/* @__PURE__ */ jsxRuntime.jsx(StakeBooster2, {})
|
|
1754
1754
|
] })
|
|
@@ -1842,7 +1842,7 @@ var useTradingRewardsLayoutScript = (props) => {
|
|
|
1842
1842
|
}
|
|
1843
1843
|
];
|
|
1844
1844
|
}, [t]);
|
|
1845
|
-
const hideSideBar =
|
|
1845
|
+
const { isMobile: hideSideBar } = ui.useScreen();
|
|
1846
1846
|
return {
|
|
1847
1847
|
items,
|
|
1848
1848
|
current,
|