Commit efaefe2e authored by Greg Bugyis's avatar Greg Bugyis Committed by GitHub

fix: Token Details chart: adjust curveTension on 1H chart timeframe (#4632)

Adjust curveTension on 1H chart timeframe
parent ed95f1b9
......@@ -254,8 +254,8 @@ export function PriceChart({ width, height, tokenAddress, priceData }: PriceChar
const crosshairEdgeMax = width * 0.85
const crosshairAtEdge = !!crosshair && crosshair > crosshairEdgeMax
/* Default curve doesn't look good for the ALL chart */
const curveTension = timePeriod === TimePeriod.ALL ? 0.75 : 0.9
/* Default curve doesn't look good for the HOUR/ALL chart */
const curveTension = timePeriod === TimePeriod.ALL ? 0.75 : timePeriod === TimePeriod.HOUR ? 1 : 0.9
return (
<>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment