Skip to content

Commit

Permalink
fix: Add missing default filter
Browse files Browse the repository at this point in the history
  • Loading branch information
pkulkark committed Sep 4, 2024
1 parent 33b5897 commit 051a2d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const CoursesFilters = ({
oldestCourses: { ...baseFilters, order: 'created' },
});

const handleMenuFilterItemSelected = (filterType) => {
const handleMenuFilterItemSelected = (filterType = 'activeCourses') => {
const baseFilters = {
currentPage: 1,
search,
Expand Down

0 comments on commit 051a2d7

Please sign in to comment.