feat: Add dashboard page displaying a welcome message and recommended courses.

This commit is contained in:
supalerk-ar66 2026-01-21 17:21:37 +07:00
parent db9ff684ae
commit af5b3ed266

View file

@ -33,7 +33,7 @@ onMounted(async () => {
const catRes = await fetchCategories()
const catMap = new Map()
if (catRes.success) {
catRes.data.forEach((c: any) => catMap.set(c.id, c.name))
catRes.data?.forEach((c: any) => catMap.set(c.id, c.name))
}
// 2. Fetch All Courses and Randomize