Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kushagra~ committed Jan 28, 2025
1 parent 40d6990 commit 23b1465
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pages/api/scholarship-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default async function handler(req, res) {
const scholarshipGrades = Array.isArray(scholarship.Grade)
? scholarship.Grade
: [scholarship.Grade];

const result =
!grade ||
scholarshipGrades.some(
Expand Down Expand Up @@ -103,7 +103,6 @@ export default async function handler(req, res) {
return result;
},
];


// Filter scholarships using every method
const filteredScholarships = scholarships.filter((scholarship) => {
Expand Down

0 comments on commit 23b1465

Please sign in to comment.