This commit is contained in:
austinkelsay 2024-12-23 16:24:49 -06:00
parent 410ee763cd
commit ef3acf03df
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02
2 changed files with 1 additions and 3 deletions

View File

@ -239,7 +239,7 @@ export default function DraftCourseDetails({ processedEvent, draftId, lessons })
useEffect(() => {
async function buildEvent(draft) {
if (!draft) {
console.error('Draft is null or undefined');
.error('Draft is null or undefined');
return null;
}

View File

@ -80,8 +80,6 @@ const CourseForm = ({ draft = null }) => {
topics,
};
console.log('courseDraftData', courseDraftData);
const courseDraftResponse = await axios.post('/api/courses/drafts', courseDraftData);
const createdCourseDraft = courseDraftResponse.data;