diff --git a/src/components/account/Health/HealthIcon.tsx b/src/components/account/Health/HealthIcon.tsx
index 858cb0bf..43891b01 100644
--- a/src/components/account/Health/HealthIcon.tsx
+++ b/src/components/account/Health/HealthIcon.tsx
@@ -5,7 +5,7 @@ import { ExclamationMarkCircled, Heart } from 'components/common/Icons'
interface Props {
isLoading: boolean
health: number
- className: string
+ className?: string
colorClass?: string
}
@@ -14,9 +14,9 @@ export default function HealthIcon(props: Props) {
const color = colorClass ?? 'text-white'
return (
- <>
+
{!isLoading && health === 0 ? (
-
+
) : (
)}
- >
+
)
}
diff --git a/src/components/portfolio/Account/BreadCrumbs.tsx b/src/components/portfolio/Account/BreadCrumbs.tsx
index 536d648e..b2d3f83f 100644
--- a/src/components/portfolio/Account/BreadCrumbs.tsx
+++ b/src/components/portfolio/Account/BreadCrumbs.tsx
@@ -19,7 +19,9 @@ export default function PortfolioAccountPageHeader(props: Props) {
Portfolio
-
+
Credit Account {props.accountId}
)
diff --git a/src/components/portfolio/SummarySkeleton.tsx b/src/components/portfolio/SummarySkeleton.tsx
index a8aa1adc..0c665e9d 100644
--- a/src/components/portfolio/SummarySkeleton.tsx
+++ b/src/components/portfolio/SummarySkeleton.tsx
@@ -3,10 +3,10 @@ import React from 'react'
import HealthBar from 'components/account/Health/HealthBar'
import HealthIcon from 'components/account/Health/HealthIcon'
import Card from 'components/common/Card'
-import HLSTag from 'components/hls/HLSTag'
import Loading from 'components/common/Loading'
import Text from 'components/common/Text'
import TitleAndSubCell from 'components/common/TitleAndSubCell'
+import HLSTag from 'components/hls/HLSTag'
import useAccount from 'hooks/accounts/useAccount'
import { DEFAULT_PORTFOLIO_STATS } from 'utils/constants'
@@ -31,9 +31,11 @@ export default function SummarySkeleton(props: Props) {
{account?.kind === 'high_levered_strategy' && }
{health !== undefined && healthFactor !== undefined && (
-