Skip to content

Commit

Permalink
Merge pull request #705 from Kernel360/fix-like-course
Browse files Browse the repository at this point in the history
Fix like course 디벨롭 병합
  • Loading branch information
hatchling13 authored Mar 28, 2024
2 parents 81f0574 + f3235e1 commit 3fda3ba
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ export default async function FavoriteCoursePage() {
}
return (
<>
<FavoriteCourseList
favoriteCourseList={res.data.contents}
has_next={res.data.has_next}
/>
{!!res.data.contents.length ? (
<FavoriteCourseList
favoriteCourseList={res.data.contents}
has_next={res.data.has_next}
/>
) : (
<div className="w-full h-full flex justify-center items-center text-4xl text-center text-main">
좋아요 한 코스가 없습니다.
</div>
)}
</>
);
}

0 comments on commit 3fda3ba

Please sign in to comment.