Skip to content

Commit

Permalink
dirty fix for rendering the chart
Browse files Browse the repository at this point in the history
  • Loading branch information
bdougie committed Dec 29, 2023
1 parent a70ebf2 commit 74f6c95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/[owner]/[repo]/prCounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ const prPerDay = (prData) => {
}
});

const transformedData = Object.entries(mergedPRsPerDay).map(([x, y]) => ({ id: x, x, y }));
const transformedData = Object.entries(mergedPRsPerDay).map(([x, y]) => ({ x, y }));

console.log("Merged PRs per day:", transformedData);

return {
return [{
id: "perDay",
color: "#f59e0b",
data: transformedData,
};
}];

};

Expand Down

0 comments on commit 74f6c95

Please sign in to comment.