From 6154ca247edc050908effa671da54c7ab8a59ebe Mon Sep 17 00:00:00 2001 From: hkirat Date: Tue, 20 Aug 2024 10:12:58 +0530 Subject: [PATCH] Fixes content by id --- src/lib/find-content-by-id.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/find-content-by-id.ts b/src/lib/find-content-by-id.ts index f5fc5b595..0a8ee7500 100644 --- a/src/lib/find-content-by-id.ts +++ b/src/lib/find-content-by-id.ts @@ -1,11 +1,5 @@ import { ChildCourseContent, FullCourseContent } from '@/db/course'; -// findContentById -// This is incorrect. -// If the place you are in is a folder -// It returns all the children -// If the place you are in is a video -// It returns an array with that video as the first element. export default function findContentById( contents: FullCourseContent[], ids: number[],