fix(list): remove no-op null coerce and stale comment in SecondarySchoolRow
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user