diff --git a/src/components/Card/TitleCard.tsx b/src/components/Card/TitleCard.tsx index f819a0ea01..0af29aa071 100644 --- a/src/components/Card/TitleCard.tsx +++ b/src/components/Card/TitleCard.tsx @@ -15,7 +15,7 @@ export const titleCardIconBackground = { export type TitlePageType = | { - page: "unit" | "subject" | "lesson"; + page: "unit" | "subject" | "lessons"; keyStage: string; keyStageSlug: string; } diff --git a/src/components/Lessons/LessonList/index.ts b/src/components/Lessons/LessonList/index.ts index e69de29bb2..60ce75070d 100644 --- a/src/components/Lessons/LessonList/index.ts +++ b/src/components/Lessons/LessonList/index.ts @@ -0,0 +1 @@ +export { default } from "./LessonList"; diff --git a/src/node-lib/curriculum-api/index.ts b/src/node-lib/curriculum-api/index.ts index 6ba1ab6147..df23d109dc 100644 --- a/src/node-lib/curriculum-api/index.ts +++ b/src/node-lib/curriculum-api/index.ts @@ -4,7 +4,6 @@ import teachersKeyStageSubjectTiersFixture from "./fixtures/teachersKeyStageSubj import teachersKeyStageSubjectTiersPathsFixture from "./fixtures/teachersKeyStageSubjectTiersPaths.fixture"; import teachersKeyStageSubjectUnitsFixture from "./fixtures/teachersKeyStageSubjectUnits.fixture"; import teachersKeyStageSubjectUnitsPathsFixture from "./fixtures/teachersKeyStageSubjectUnitsPaths.fixture"; -import teachersKeyStageSubjectUnitsLessonsFixture from "./fixtures/teachersLessons.fixture"; import _curriculumApi, { CurriculumApi } from "./_index"; export type { @@ -35,9 +34,6 @@ const curriculumApi: CurriculumApi = { teachersKeyStageSubjectUnits: async () => { return teachersKeyStageSubjectUnitsFixture(); }, - teachersKeyStageSubjectUnitsLessons: async () => { - return teachersKeyStageSubjectUnitsLessonsFixture(); - }, }; export default curriculumApi; diff --git a/src/pages/beta/teachers/key-stages/[keyStageSlug]/subjects/[subjectSlug]/units/[unitSlug]/index.tsx b/src/pages/beta/teachers/key-stages/[keyStageSlug]/subjects/[subjectSlug]/units/[unitSlug]/index.tsx index e44eeade22..54e66e9e17 100644 --- a/src/pages/beta/teachers/key-stages/[keyStageSlug]/subjects/[subjectSlug]/units/[unitSlug]/index.tsx +++ b/src/pages/beta/teachers/key-stages/[keyStageSlug]/subjects/[subjectSlug]/units/[unitSlug]/index.tsx @@ -49,7 +49,7 @@ const LessonListPage: NextPage = ({ curriculumData }) => { />