From efe803a5043c3c9841dce8b74bcb596b1b4bcbe2 Mon Sep 17 00:00:00 2001
From: uncoolzero <107518216+uncoolzero@users.noreply.github.com>
Date: Tue, 3 Oct 2023 22:58:36 -0300
Subject: [PATCH] Updated Silo Deposits table
---
.../ui/src/components/Silo/Actions/Deposits.tsx | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/projects/ui/src/components/Silo/Actions/Deposits.tsx b/projects/ui/src/components/Silo/Actions/Deposits.tsx
index cf6bf99a91..2d306a69d7 100644
--- a/projects/ui/src/components/Silo/Actions/Deposits.tsx
+++ b/projects/ui/src/components/Silo/Actions/Deposits.tsx
@@ -129,7 +129,7 @@ const Deposits: FC<
{
field: 'stalk.grown',
flex: 1,
- headerName: 'Grown Stalk',
+ headerName: 'Stalk Grown',
align: 'right',
headerAlign: 'right',
valueFormatter: (params) => displayBN(params.value),
@@ -138,18 +138,21 @@ const Deposits: FC<
placement="bottom"
title={
-
- {displayBN(params.row.stalk.grown.minus(transform(sdk.tokens.STALK.fromBlockchain(transform(params.row.bdv, 'tokenValue', sdk.tokens.BEAN).toBigNumber().mul(deltaStem)), 'bnjs')))}
+
+ {displayFullBN(params.row.stalk.grown.minus(transform(sdk.tokens.STALK.fromBlockchain(transform(params.row.bdv, 'tokenValue', sdk.tokens.BEAN).toBigNumber().mul(deltaStem)), 'bnjs')), 2, 2)}
+
+
+ {displayFullBN(transform(sdk.tokens.STALK.fromBlockchain(transform(params.row.bdv, 'tokenValue', sdk.tokens.BEAN).toBigNumber().mul(deltaStem)), 'bnjs'), 2, 2)}
}
>
- {displayBN(transform(sdk.tokens.STALK.fromBlockchain(transform(params.row.bdv, 'tokenValue', sdk.tokens.BEAN).toBigNumber().mul(deltaStem)), 'bnjs'))}
+ {displayFullBN(params.row.stalk.grown, 2, 2)}
- {displayBN(transform(sdk.tokens.STALK.fromBlockchain(transform(params.row.bdv, 'tokenValue', sdk.tokens.BEAN).toBigNumber().mul(deltaStem)), 'bnjs'))}
+ {displayFullBN(params.row.stalk.grown, 2, 2)}