fix: generate course (#9182)
This commit is contained in:
1 parent
9d4f00837c
commit
6c925a9968
1 file changed
+1
-1
@@ -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