Fix syntax bug

This commit is contained in:
austinkelsay 2024-12-23 16:28:30 -06:00
parent ef3acf03df
commit 91cfd7a3cb
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02

View File

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