Skip to content

Commit 6506ca8

Browse files
committed
Merge branch 'frontend-fix-wrong-data-source-usd-weekly'
2 parents 40f494b + 677662b commit 6506ca8

File tree

1 file changed

+3
-0
lines changed
  • frontends/web/src/routes/account/summary

1 file changed

+3
-0
lines changed

frontends/web/src/routes/account/summary/chart.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ class Chart extends Component<Props, State> {
9393
};
9494

9595
public componentDidMount() {
96+
if (this.state.source !== 'hourly' && this.context.chartDisplay === 'week') {
97+
this.setState({ source: 'hourly' });
98+
}
9699
this.createChart();
97100
}
98101

0 commit comments

Comments
 (0)