diff --git a/apps/web/src/app/main/my-path/components/MyPathListContainer.tsx b/apps/web/src/app/main/my-path/components/MyPathListContainer.tsx index dad21c9..ebbba92 100644 --- a/apps/web/src/app/main/my-path/components/MyPathListContainer.tsx +++ b/apps/web/src/app/main/my-path/components/MyPathListContainer.tsx @@ -1,9 +1,10 @@ import PostList from "@web/src/components/models/course/list/PostList"; import { useAuth } from "@web/src/providers/auth-provider"; -import CourseCard from "../../courses/components/CourseCard"; + import { PostType } from "@nice/common"; import { useMainContext } from "../../layout/MainProvider"; +import PathCard from "../../path/components/PathCard"; export default function MyPathListContainer() { const { user } = useAuth(); @@ -11,13 +12,11 @@ export default function MyPathListContainer() { return ( <> ( - - )} + renderItem={(post) => } params={{ pageSize: 12, where: { - type: PostType.COURSE, + type: PostType.PATH, authorId: user.id, ...termsCondition, ...searchCondition,