diff --git a/websrc/components/Tables.tsx b/websrc/components/Tables.tsx index b1324fb..adeed92 100644 --- a/websrc/components/Tables.tsx +++ b/websrc/components/Tables.tsx @@ -57,6 +57,7 @@ export class PositionsTable extends Component<{ positions: Array } const stateBg = "bg-".concat(this.stateColor(position.state)).concat("-100 ") const stateText = "text-".concat(this.stateColor(position.state)).concat("-800 ") const stateClass = "px-2 inline-flex text-xs leading-5 font-semibold rounded-full ".concat(stateBg).concat(stateText) + const percentageText = "text-".concat(this.stateColor(position.state)).concat("-300 ") return ( @@ -84,8 +85,8 @@ export class PositionsTable extends Component<{ positions: Array } -
{position.profit_loss.toLocaleString()} USD
-
{position.profit_loss_percentage.toFixed(2)}%
+
{position.profit_loss.toLocaleString()} USD
+
{position.profit_loss_percentage.toFixed(2)}%