Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit c34e31f

Browse files
committed
fix: section
1 parent 62bfcb9 commit c34e31f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/element/tvl/TvlSection.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,14 @@ export default function TvlSection({ opportunity }: TvlSectionProps) {
9191
{getTvlName(breakdown)}
9292
</Text>
9393

94-
{aprBreakdown && (
94+
{aprBreakdown ? (
9595
<PrimitiveTag className="w-fit ml-auto" look="bold" size="sm">
9696
<Value value format={aprFormat}>
9797
{aprBreakdown.value / 100}
9898
</Value>
9999
</PrimitiveTag>
100+
) : (
101+
<></>
100102
)}
101103
<Text look="bold" className="inline-flex justify-end" size="sm">
102104
<Value value format={dollarFormat}>

0 commit comments

Comments
 (0)