@kodiak-finance/orderly-ui-positions 2.8.21-rc.1 → 2.8.21

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
@@ -1061,7 +1061,7 @@ var useReversePositionEnabled = () => {
1061
1061
  );
1062
1062
  const [mobileEnabled, setMobileEnabled] = orderlyHooks.useLocalStorage(
1063
1063
  "orderly_reverse_position_enabled_mobile",
1064
- false
1064
+ true
1065
1065
  );
1066
1066
  const isEnabled = React3.useMemo(() => {
1067
1067
  if (isMobile) {
@@ -2606,7 +2606,7 @@ var useColumn = (config) => {
2606
2606
  positionReverse
2607
2607
  } = config;
2608
2608
  const { t } = orderlyI18n.useTranslation();
2609
- React3.useRef(Date.now().toString());
2609
+ const fundingFeeEndTime = React3.useRef(Date.now().toString());
2610
2610
  const column = React3.useMemo(
2611
2611
  () => [
2612
2612
  {
@@ -2843,19 +2843,20 @@ var useColumn = (config) => {
2843
2843
  rule: "price",
2844
2844
  render: (value) => /* @__PURE__ */ jsxRuntime.jsx(orderlyUi.Text.numeral, { children: value })
2845
2845
  },
2846
- // {
2847
- // title: t("funding.fundingFee"),
2848
- // dataIndex: "fundingFee",
2849
- // width: 100,
2850
- // render: (value, record) => (
2851
- // <FundingFeeButton
2852
- // fee={value}
2853
- // symbol={record.symbol}
2854
- // start_t={record.timestamp.toString()}
2855
- // end_t={fundingFeeEndTime.current}
2856
- // />
2857
- // ),
2858
- // },
2846
+ {
2847
+ title: t("funding.fundingFee"),
2848
+ dataIndex: "fundingFee",
2849
+ width: 100,
2850
+ render: (value, record) => /* @__PURE__ */ jsxRuntime.jsx(
2851
+ FundingFeeButton,
2852
+ {
2853
+ fee: value,
2854
+ symbol: record.symbol,
2855
+ start_t: record.timestamp.toString(),
2856
+ end_t: fundingFeeEndTime.current
2857
+ }
2858
+ )
2859
+ },
2859
2860
  // {
2860
2861
  // title: t("common.qty"),
2861
2862
  // dataIndex: "close_qty",