Skip to content

[BUG] Modern Biology chapter quiz references non-existent slug 'mb - Introduction to Biology', quiz never renders #354

Description

@vipul674

Bug

app/sem2/mb/[chapter]/page.tsx:50 maps ch1: "mb - Introduction to Biology", but no quiz with that slug exists in moduleQuizzes in lib/quizData.ts. The only mb entry is the top-level quiz slug: "mb" (line 1229); there are zero mb-* module quizzes.

Impact

moduleQuizzes.find((quiz) => quiz.slug === chapterQuizSlugMap[chapter]) always returns undefined for mb chapters. The chapter quiz card (via ChapterQuizInline) never renders on Modern Biology pages, even though every other subject with a module quiz (OS, DSC, COA, OOPS, EM) shows one. The quiz feature is silently missing for the entire Modern Biology subject.

Expected

Either add a real mb-* module quiz for ch1 in lib/quizData.ts, or remove the dead chapterQuizSlugMap entry if no quiz is planned.

Files

  • app/sem2/mb/[chapter]/page.tsx:50
  • lib/quizData.ts (no mb-* module quiz exists)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions