fix: course home number of 0 courses

This commit is contained in:
johnvente
2024-03-19 11:39:23 -05:00
parent 4701c721b8
commit 497b861d82

View File

@@ -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 (