website refactor
This commit is contained in:
@@ -7,8 +7,6 @@ import { Text } from '@/ui/Text';
|
||||
|
||||
interface LeagueStandingsTemplateProps {
|
||||
viewData: LeagueStandingsViewData;
|
||||
onRemoveMember: (driverId: string) => void;
|
||||
onUpdateRole: (driverId: string, newRole: string) => void;
|
||||
loading?: boolean;
|
||||
}
|
||||
|
||||
@@ -31,6 +29,7 @@ export function LeagueStandingsTemplate({
|
||||
return {
|
||||
position: entry.position,
|
||||
driverName: driver?.name || 'Unknown Driver',
|
||||
driverId: entry.driverId,
|
||||
points: entry.totalPoints,
|
||||
wins: 0, // Placeholder
|
||||
podiums: 0, // Placeholder
|
||||
|
||||
Reference in New Issue
Block a user