mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-05 00:32:03 +00:00
Redeploy
This commit is contained in:
parent
410ee763cd
commit
ef3acf03df
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user