From f3f47a102e5487435d37f5eeab1ba1f3342a7ddc Mon Sep 17 00:00:00 2001
From: tjs
Date: Tue, 23 Aug 2022 14:13:30 -0400
Subject: [PATCH] add init health to account summary box
---
components/account/MangoAccountSummary.tsx | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/components/account/MangoAccountSummary.tsx b/components/account/MangoAccountSummary.tsx
index 20c945fb..f261b0b2 100644
--- a/components/account/MangoAccountSummary.tsx
+++ b/components/account/MangoAccountSummary.tsx
@@ -46,7 +46,7 @@ const MangoAccountSummary = () => {
-
{t('health')}
+
Maint {t('health')}
{mangoAccount
? mangoAccount.getHealthRatioUi(HealthType.maint)
@@ -54,6 +54,15 @@ const MangoAccountSummary = () => {
%
+
+
Init {t('health')}
+
+ {mangoAccount
+ ? mangoAccount.getHealthRatioUi(HealthType.init)
+ : 100}
+ %
+
+