From 66a4c2aa9a56459a5e0210d1fba9213f282d73fa Mon Sep 17 00:00:00 2001 From: Linkie Link Date: Wed, 14 Feb 2024 13:39:24 +0100 Subject: [PATCH] fix: fixed portfolio cards --- src/components/account/Health/HealthBar.tsx | 12 +++++++++--- src/components/common/Tooltip/index.tsx | 4 ++-- src/components/portfolio/Card/Skeleton.tsx | 4 ++-- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/components/account/Health/HealthBar.tsx b/src/components/account/Health/HealthBar.tsx index 60baafba..41bc951e 100644 --- a/src/components/account/Health/HealthBar.tsx +++ b/src/components/account/Health/HealthBar.tsx @@ -63,7 +63,7 @@ export default function HealthBar({ health={isUpdated ? updatedHealth : health} healthFactor={isUpdated ? updatedHealthFactor : healthFactor} > - <> +
{showIcon && ( )} -
+
- +
) } diff --git a/src/components/common/Tooltip/index.tsx b/src/components/common/Tooltip/index.tsx index 85a47f22..1c94c7c1 100644 --- a/src/components/common/Tooltip/index.tsx +++ b/src/components/common/Tooltip/index.tsx @@ -48,7 +48,7 @@ export const Tooltip = (props: Props) => { visible={props.visible} > {props.children ? ( - { )} > {props.children} - +
) : ( ))} -
+