Skip to content

Commit

Permalink
Updated Buckets segment of Buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
TeetoToast committed Feb 23, 2025
1 parent 60e00c7 commit 6d1ed81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/views/buckets.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Buckets() {
let tempBins = [];
for (let i = res.data.length - 1; i >= 0; i--) {
const grade = res.data[i]['letter'];
const lower = (i !== 0) ? +res.data[i - 1]['points'] + 1 : 0;
const lower = (i !== 0) ? +res.data[i - 1]['points'] : 0;
const range = `${lower}-${res.data[i]['points']}`;
tempBins.push({ grade, range });
}
Expand Down

0 comments on commit 6d1ed81

Please sign in to comment.