From ad2fe5bbef8f761b4e55ed990fdf8c52cb094453 Mon Sep 17 00:00:00 2001 From: Tudor Sitaru Date: Mon, 13 Apr 2026 14:11:05 +0100 Subject: [PATCH] fix(list): remove no-op null coerce and stale comment in SecondarySchoolRow --- nextjs-app/components/SecondarySchoolRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextjs-app/components/SecondarySchoolRow.tsx b/nextjs-app/components/SecondarySchoolRow.tsx index 5ec8f08..7cf73f3 100644 --- a/nextjs-app/components/SecondarySchoolRow.tsx +++ b/nextjs-app/components/SecondarySchoolRow.tsx @@ -4,7 +4,7 @@ * * Line 1: School name · Ofsted badge * Line 2: School type · Age range · Gender · Sixth form · Admissions tag - * Line 3: Attainment 8 (large) · ±LA avg delta · Eng & Maths 4+ · Pupils + * Line 3: Attainment 8 (large) · ±LA avg delta · Pupils * Line 4: LA name · distance */ @@ -53,7 +53,7 @@ export function SecondarySchoolRow({ const ofstedBadge = buildOfstedListBadge(school); const phase = getPhaseStyle(school.phase); - const att8 = school.attainment_8_score ?? null; + const att8 = school.attainment_8_score; const laDelta = att8 != null && laAvgAttainment8 != null ? att8 - laAvgAttainment8 : null;