Skip to content

Commit

Permalink
fix: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Mar 4, 2022
1 parent 009aeb4 commit db13fd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions admin-ui/plugins/admin/components/MAU/MauGraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@ function MauGraph({ statData, permissions, clients, loading, dispatch }) {

function generateDateRange(startDate, endDate) {
let start = moment(startDate)
const end = moment(endDate)
let end = moment(endDate)
var result = []

while (end > start || start.format('M') === end.format('M')) {
result.push(start.format('YYYY-MM') + '-01')
start.add(1, 'month')
Expand Down

0 comments on commit db13fd3

Please sign in to comment.