fix: course home number of 0 courses
This commit is contained in:
@@ -43,7 +43,7 @@ const CoursesTab = ({
|
||||
].includes(courseCreatorStatus);
|
||||
|
||||
const handlePageSelected = (page) => dispatch(updateStudioHomeCoursesCustomParams({ currentPage: page }));
|
||||
const hasCourses = coursesDataItems?.length;
|
||||
const hasCourses = coursesDataItems?.length > 0;
|
||||
|
||||
if (isLoading) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user