Skip to content

Commit 4221969

Browse files
TokenBriceclaude
andcommitted
fix(stablecoin): hide depeg history section on NAV token pages
NAV tokens appreciate over time and are never "pegged" — showing a depeg history section is misleading. Guard it with isNavToken. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 894257f commit 4221969

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/app/stablecoin/[id]/client.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,11 @@ export default function StablecoinDetailClient({ id, summary, coin, logoSrc }: S
398398

399399
<ContractAddresses meta={coin} />
400400

401-
<section id="history">
402-
<DepegHistory stablecoinId={id} earliestTrackingDate={earliestTrackingDate} />
403-
</section>
401+
{!isNavToken && (
402+
<section id="history">
403+
<DepegHistory stablecoinId={id} earliestTrackingDate={earliestTrackingDate} />
404+
</section>
405+
)}
404406
</div>
405407
);
406408
}

0 commit comments

Comments
 (0)