diff --git a/apps/web/components/LessonView.tsx b/apps/web/components/LessonView.tsx index ace8a0ea..41df456b 100644 --- a/apps/web/components/LessonView.tsx +++ b/apps/web/components/LessonView.tsx @@ -51,14 +51,18 @@ export const LessonView = async ({ isPdfRequested?: Boolean; }) => { const session = await getServerSession(authOptions); - const problemIndex = track.problems.findIndex((p) => p.id === problem.id); - if (problemIndex > 1 && (!session || !session.user)) { - return