Skip to content

Commit

Permalink
chore(mock): subjects data
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Sep 26, 2024
1 parent 27028e4 commit f191935
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mocks/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ export const handlers = [
http.get('/api/subjects', async () => {
return HttpResponse.json({
subjects: deduplicateArray(COURSES.map(({ name }) => name.subject)).map(
// (code, i) => ({ code, name: `Subject ${i}` }),
(code, i) => ({ code, name: `Computer Science` }),
(code, i) => ({ code, name: `Subject ${i}` }),
),
});
}),
Expand Down

0 comments on commit f191935

Please sign in to comment.