Skip to content

Commit

Permalink
feat(button): make button accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
benprotheroe committed Sep 16, 2024
1 parent f67c8b4 commit c7d9cf1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/PupilViews/PupilReview/PupilReview.view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,15 @@ export const PupilViewsReview = (props: PupilViewsReviewProps) => {
);
};

if (phase === "foundation") {
throw new Error("Foundation phase is not supported");
}

return (
<OakLessonLayout
bottomNavSlot={bottomNavSlot}
lessonSectionName={"review"}
phase={phase as "primary" | "secondary"}
phase={phase}
topNavSlot={null}
>
<OakGrid
Expand Down

0 comments on commit c7d9cf1

Please sign in to comment.