Commit a6e35ed7 authored by Kaylee George's avatar Kaylee George Committed by GitHub

fix: fix naming in pricechart (#4332)

fix
parent f570c3fa
...@@ -287,7 +287,7 @@ export function PriceChart({ width, height }: PriceChartProps) { ...@@ -287,7 +287,7 @@ export function PriceChart({ width, height }: PriceChartProps) {
<TimeOptionsWrapper> <TimeOptionsWrapper>
<TimeOptionsContainer> <TimeOptionsContainer>
{TIME_DISPLAYS.map(([value, display]) => ( {TIME_DISPLAYS.map(([value, display]) => (
<TimeButton key={display} active={activeTimePeriod === value} onClick={() => setTimePeriod(value)}> <TimeButton key={display} active={timePeriod === value} onClick={() => setTimePeriod(value)}>
{display} {display}
</TimeButton> </TimeButton>
))} ))}
......
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