Skip to content

Commit

Permalink
bugfix(vault): corrected % value in donut chart tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
vihangpatil committed Mar 19, 2024
1 parent c9645ba commit f357452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/auth/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MyDocument extends Document {
rel="icon"
type="image/png"
sizes="64x64"
href="/research/favicon-64x64.png"
href="/services/auth/favicon-64x64.png"
/>
</Head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion apps/vault/src/components/vaultAssets/DonutChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const DonutChart: React.FC<DonutChartProps> = ({
return `${formatCurrency({
value: tooltipItem.parsed,
currency: currency,
})} : ${formatPercent(tooltipItem.parsed / sum)}`;
})} : ${formatPercent((tooltipItem.parsed * 100.0) / sum)}`;
},
},
},
Expand Down

0 comments on commit f357452

Please sign in to comment.