fix build

This commit is contained in:
Rotimi Best
2026-04-12 18:26:06 +01:00
parent 8ea0ab0a76
commit ae1801f85f
3 changed files with 3 additions and 6 deletions
@@ -25,7 +25,6 @@
import ContentRow from './content-row.svelte';
import ContentActions from './content-actions.svelte';
import { deleteContent, saveContent, toggleLock } from './content-action-helpers';
import { isSelfPacedLikeCourse } from '$features/course/utils/compliance-utils';
const flipDurationMs = 300;
@@ -46,7 +45,7 @@
const contentData = $derived(getCourseContent(courseApi.course));
const isStudentView = $derived($isOrgStudent === true);
const isLiveCourse = $derived(courseApi.course?.type === 'LIVE_CLASS');
const isSelfPacedCourse = $derived(isSelfPacedLikeCourse(courseApi.course?.type));
const isSelfPacedCourse = $derived(courseApi.course?.type === 'SELF_PACED');
const metaChipClass =
'inline-flex items-center gap-1 rounded-full bg-gray-100 px-2 py-1 text-[10px] text-gray-700 dark:bg-neutral-700 dark:text-gray-200';