@kodiak-finance/orderly-ui-positions 2.8.21-rc.1 → 2.8.21-rc.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 CHANGED
@@ -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",