From 051a2d75353907db5cd1801a9d142b4cf87e59bd Mon Sep 17 00:00:00 2001 From: Pooja Kulkarni Date: Wed, 4 Sep 2024 10:38:15 -0400 Subject: [PATCH] fix: Add missing default filter --- .../tabs-section/courses-tab/courses-filters/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/studio-home/tabs-section/courses-tab/courses-filters/index.jsx b/src/studio-home/tabs-section/courses-tab/courses-filters/index.jsx index 961b15c301..7904e5c904 100644 --- a/src/studio-home/tabs-section/courses-tab/courses-filters/index.jsx +++ b/src/studio-home/tabs-section/courses-tab/courses-filters/index.jsx @@ -43,7 +43,7 @@ const CoursesFilters = ({ oldestCourses: { ...baseFilters, order: 'created' }, }); - const handleMenuFilterItemSelected = (filterType) => { + const handleMenuFilterItemSelected = (filterType = 'activeCourses') => { const baseFilters = { currentPage: 1, search,