From 7d5e21c200f6b25682917e6ebde9d3668382ab7e Mon Sep 17 00:00:00 2001 From: ditiqi Date: Thu, 27 Feb 2025 08:25:43 +0800 Subject: [PATCH] add --- apps/web/src/app/main/my-learning/page.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/app/main/my-learning/page.tsx b/apps/web/src/app/main/my-learning/page.tsx index 8807119..07924a0 100644 --- a/apps/web/src/app/main/my-learning/page.tsx +++ b/apps/web/src/app/main/my-learning/page.tsx @@ -1,8 +1,10 @@ import CourseList from "@web/src/components/models/course/list/CourseList"; import { useAuth } from "@web/src/providers/auth-provider"; +import { useMainContext } from "../layout/MainProvider"; export default function MyLearningPage() { const { user } = useAuth(); + const { searchCondition } = useMainContext(); return ( <>
@@ -15,6 +17,7 @@ export default function MyLearningPage() { id: user?.id, }, }, + ...searchCondition, }, }} cols={4}>