import type { EnrichedResult } from '../types' interface Props { results: EnrichedResult[] hasStints: boolean } export function StrategyView({ results, hasStints }: Props) { if (!hasStints) { return (
/api/v1/race-hub. Strategy
charts require per-driver stints: compound, lap_start, lap_end.
| P | Driver | Laps |
|---|---|---|
| {r.position} | {r.name_acronym || r.driver_number} | 0 ? 'var(--text)' : 'var(--text-3)' }}> {r.number_of_laps > 0 ? r.number_of_laps : '—'} |