mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-03-12 17:51:53 +08:00
fix: generate course
This commit is contained in:
@@ -24,7 +24,7 @@ export function CreateCourseModal(props: CreateCourseModalProps) {
|
||||
const formData = new FormData(e.target as HTMLFormElement);
|
||||
const subject = formData.get('subject');
|
||||
|
||||
window.location.href = `/ai/course?term=${subject}&difficulty=beginner&src=topic`;
|
||||
window.location.href = `/ai/course/search?term=${subject}&src=topic`;
|
||||
onClose();
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user