fix(home): suppress unused nationalAvgRwm param, add ofstedPending badge branch

This commit is contained in:
Tudor Sitaru
2026-04-13 14:26:55 +01:00
parent 2c13b21360
commit 51310160a8
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -401,6 +401,7 @@ function CompactSchoolItem({ school, onAddToCompare, isInCompare, nationalAvgRwm
ofstedBadge.cssClass === 'ofsted3' ? { background: 'var(--accent-gold-bg)', color: '#b8920e' } :
ofstedBadge.cssClass === 'ofsted4' ? { background: 'var(--accent-coral-bg)', color: 'var(--accent-coral, #e07256)' } :
ofstedBadge.cssClass === 'ofstedRc' ? { background: '#5a3a6e', color: '#fff' } :
ofstedBadge.cssClass === 'ofstedPending' ? { background: '#e0e0e0', color: '#666' } :
{ background: '#e0e0e0', color: '#666' }),
}}
>