Skip to content

Commit

Permalink
fix date sorting for solved tasks chart (#1447)
Browse files Browse the repository at this point in the history
  • Loading branch information
m00n620 authored Jan 11, 2024
1 parent af03ba8 commit fa803de
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export function useMonthlyTaskSummaries() {
const from = dayjs().startOf('month').format('YYYY-MM-DD');
const to = dayjs().endOf('month').format('YYYY-MM-DD');
const [cachedData, thisMonthData] = await Promise.all([
axios.get(`${apiURL}/monthly-task-summaries`).then((res) => res.data),
axios
.get(`${apiURL}/monthly-task-summaries?sort=id`)
.then((res) => res.data),
axios
.get(`${apiURL}/stats/tasks?to=${to}&from=${from}`)
.then((res) => res.data),
Expand Down

1 comment on commit fa803de

@vercel
Copy link

@vercel vercel bot commented on fa803de Jan 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

escrow-dashboard – ./packages/apps/dashboard/ui

escrow-dashboard-git-develop-humanprotocol.vercel.app
escrow-dashboard-humanprotocol.vercel.app
dashboard.humanprotocol.org

Please sign in to comment.