Skip to content

Commit

Permalink
fix-funding-tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo committed Oct 31, 2024
1 parent 47032c0 commit 201531f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/charts/FundingChart/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ export const FundingChartTooltipContent = ({
value={
{
[FundingRateResolution.OneHour]: tooltipDatum?.fundingRate ?? 0,
[FundingRateResolution.EightHour]: tooltipDatum?.fundingRate ?? 0 * 8,
[FundingRateResolution.EightHour]: (tooltipDatum?.fundingRate ?? 0) * 8,
[FundingRateResolution.Annualized]:
tooltipDatum?.fundingRate ?? 0 * (24 * 365),
(tooltipDatum?.fundingRate ?? 0) * (24 * 365),
}[fundingRateView]
}
showSign={ShowSign.Both}
Expand Down

0 comments on commit 201531f

Please sign in to comment.