diff --git a/front/components/Pages/Trail/TrailCourseElement.tsx b/front/components/Pages/Trail/TrailCourseElement.tsx index c2d9ec6a..57cef41d 100644 --- a/front/components/Pages/Trail/TrailCourseElement.tsx +++ b/front/components/Pages/Trail/TrailCourseElement.tsx @@ -1,6 +1,7 @@ 'use client'; import { getAPIUrl, getBackendUrl, getUriWithOrg } from '@services/config/config'; import { removeCourse } from '@services/courses/activity'; +import { getCourseThumbnailMediaDirectory } from '@services/media/media'; import { revalidateTags } from '@services/utils/ts/requests'; import Link from 'next/link'; import { mutate } from 'swr'; @@ -28,7 +29,7 @@ function TrailCourseElement(props: TrailCourseElementProps) {