Skip to content

Commit ce6f3cd

Browse files
committed
update definitions
1 parent 690d790 commit ce6f3cd

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

src/containers/ChainContainer/index.tsx

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,11 @@ export function ChainContainer({
335335
/>
336336
<span className="flex flex-col">
337337
<Tooltip
338-
content="Sum of TVL of the protocols on the chain"
338+
content={
339+
selectedChain === 'All'
340+
? 'Sum of TVL of the protocols on all chains'
341+
: 'Sum of TVL of the protocols on the chain'
342+
}
339343
className="underline decoration-dotted text-[#545757] dark:text-[#cccccc]"
340344
>
341345
<span>Total Value Locked (DeFi)</span>
@@ -356,7 +360,11 @@ export function ChainContainer({
356360
<RowWithSubRows
357361
rowHeader={
358362
<Tooltip
359-
content="Sum of market cap of all stablecoins circulating on the chain"
363+
content={
364+
selectedChain === 'All'
365+
? 'Sum of market cap of all stablecoins circulating on all chains'
366+
: 'Sum of market cap of all stablecoins circulating on the chain'
367+
}
360368
className="underline decoration-dotted"
361369
>
362370
Stablecoins Mcap
@@ -425,7 +433,7 @@ export function ChainContainer({
425433
<tr>
426434
<th className="text-[#545757] dark:text-[#cccccc] font-normal text-left pb-1">
427435
<Tooltip
428-
content="Total revenue earned by the apps on the chain"
436+
content={'Total revenue earned by the apps on the chain'}
429437
className="underline decoration-dotted"
430438
>
431439
App Revenue (24h)
@@ -440,7 +448,14 @@ export function ChainContainer({
440448
{volumeData?.totalVolume24h ? (
441449
<RowWithSubRows
442450
rowHeader={
443-
<Tooltip content="Sum of volume on all DEXs on the chain" className="underline decoration-dotted">
451+
<Tooltip
452+
content={
453+
selectedChain === 'All'
454+
? 'Sum of volume on all DEXs on all chains'
455+
: 'Sum of volume on all DEXs on the chain'
456+
}
457+
className="underline decoration-dotted"
458+
>
444459
DEXs Volume (24h)
445460
</Tooltip>
446461
}

0 commit comments

Comments
 (0)