diff --git a/app/jsx/charts/stacked_area_chart.jsx b/app/jsx/charts/stacked_area_chart.jsx index dd2761e..5fba8e7 100644 --- a/app/jsx/charts/stacked_area_chart.jsx +++ b/app/jsx/charts/stacked_area_chart.jsx @@ -101,7 +101,9 @@ var StackedAreaChart = React.createClass({ var weeksList = _(this.state.rawData).pluck('week').uniq().sort().reverse().take(this.maxWeeks).value(); if (weeksList.length < 2) { this.setState({ - weeks: [], + topItems: [], + weeklyData: {}, + maxCommitsPerWeek: 0, state: 'pleaseRender' }); return;