migration to new feed source
This commit is contained in:
@@ -176,10 +176,13 @@ export default function Fixtures({
|
||||
</div>
|
||||
</div>
|
||||
<div className="fx-meta">
|
||||
{m.venue && <span className="fx-venue">📍 {m.venue}</span>}
|
||||
{m.attendance != null && (
|
||||
<span className="fx-att">👥 {m.attendance.toLocaleString(intlLocale)}</span>
|
||||
)}
|
||||
{(() => {
|
||||
const stadium = [m.stadiumName, m.stadiumCity].filter(Boolean).join(", ");
|
||||
const crowd = m.attendance != null ? m.attendance.toLocaleString(intlLocale) : "";
|
||||
const sep = stadium && crowd ? " · " : "";
|
||||
const text = stadium + sep + crowd;
|
||||
return text ? <span className="fx-venue">{text}</span> : null;
|
||||
})()}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user