Skip to content

Commit ca00b2e

Browse files
authored
Merge pull request #46 from codingknite/feat/fix-eth-mention
fix eth mention on stats graph
2 parents e252c97 + 4e79124 commit ca00b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/stats/ChartsWidgetsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const ChartsWidgetsList = ({ filterQuery, isError, isPlaceholderData, charts, in
115115
title={ chart.title.replace('ETH', 'tWVM') }
116116
description={ chart.description.replace('ETH', 'tWVM') }
117117
interval={ interval }
118-
units={ chart.units || undefined }
118+
units={ chart.units?.replace('ETH', 'tWVM') || undefined }
119119
isPlaceholderData={ isPlaceholderData }
120120
onLoadingError={ handleChartLoadingError }
121121
/>

0 commit comments

Comments
 (0)