@loafmarkets/ui 0.1.104 → 0.1.105
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11967,7 +11967,7 @@ function PortfolioActivityPanel({
|
|
|
11967
11967
|
/* @__PURE__ */ jsx(PositionsHeaderCell, { $align: "right", children: "Entry Price" }),
|
|
11968
11968
|
/* @__PURE__ */ jsx(PositionsHeaderCell, { $align: "right", children: "Mark Price" }),
|
|
11969
11969
|
/* @__PURE__ */ jsx(PositionsHeaderCell, { $align: "right", children: "PNL (%)" }),
|
|
11970
|
-
onClosePosition && /* @__PURE__ */ jsx(PositionsHeaderCell, {
|
|
11970
|
+
onClosePosition && /* @__PURE__ */ jsx(PositionsHeaderCell, { children: "Close" })
|
|
11971
11971
|
] }),
|
|
11972
11972
|
pageSlice(positions).map((pos) => {
|
|
11973
11973
|
const currentValue = pos.quantity * pos.marketPrice;
|
|
@@ -11992,7 +11992,7 @@ function PortfolioActivityPanel({
|
|
|
11992
11992
|
"%"
|
|
11993
11993
|
] })
|
|
11994
11994
|
] }),
|
|
11995
|
-
onClosePosition && /* @__PURE__ */ jsx(PositionsCell, { $align: "
|
|
11995
|
+
onClosePosition && /* @__PURE__ */ jsx(PositionsCell, { $align: "left", children: /* @__PURE__ */ jsxs(CloseActions, { children: [
|
|
11996
11996
|
/* @__PURE__ */ jsx(CloseBtn2, { onClick: (e) => {
|
|
11997
11997
|
e.stopPropagation();
|
|
11998
11998
|
onClosePosition(pos.tokenName, "limit", pos.quantity, pos.marketPrice);
|