From d69e6a45eee16af89b43c90e36dc3d32a2218c29 Mon Sep 17 00:00:00 2001 From: Maxime Beauchamp Date: Wed, 13 Sep 2023 11:43:06 -0400 Subject: [PATCH] fix: account pie tooltip --- deploy-web/src/components/home/YourAccount.tsx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/deploy-web/src/components/home/YourAccount.tsx b/deploy-web/src/components/home/YourAccount.tsx index 51c87119d..d2bac738e 100644 --- a/deploy-web/src/components/home/YourAccount.tsx +++ b/deploy-web/src/components/home/YourAccount.tsx @@ -416,8 +416,19 @@ const BalancePie: React.FunctionComponent = ({ label, data, get return `${udenomToDenom(value, 2)} ${label}`; }} tooltip={value => ( - - {value.datum.label}: {value.datum.formattedValue} + + + + {value.datum.label}: {value.datum.formattedValue} + )} enableArcLinkLabels={false}