Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit e2b3708

Browse files
committed
Add schedule and course name to registration
1 parent 82f0c4e commit e2b3708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/pages/Course/ApplyModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export default function ApplyModal({ course, batch, fullWidth = false, ...rest }
7272
const handleSubmit = e => {
7373
formData.phone = `${formData.countryCode}-${formData.phone}`;
7474
formData.source = window.location.href;
75-
formData.schedule = batch.schedule;
75+
formData.batch = batch;
7676
formData.courseName = course.title;
7777
setSubmitting(1);
7878
e.preventDefault();

0 commit comments

Comments
 (0)