resolve todos in website
This commit is contained in:
@@ -45,14 +45,14 @@ import { DriverProfileViewModel } from '@/lib/view-models/DriverProfileViewModel
|
||||
|
||||
type ProfileTab = 'overview' | 'stats';
|
||||
|
||||
interface TeamLeagueSummary {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface Team {
|
||||
id: string;
|
||||
name: string;
|
||||
tag: string;
|
||||
description: string;
|
||||
ownerId: string;
|
||||
leagues: unknown[]; // TODO: define proper type
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
interface SocialHandle {
|
||||
@@ -317,11 +317,6 @@ export default function DriverDetailPage() {
|
||||
team: {
|
||||
id: team.id,
|
||||
name: team.name,
|
||||
tag: '', // Not available in summary
|
||||
description: '', // Not available in summary
|
||||
ownerId: '', // Not available in summary
|
||||
leagues: [], // TODO: populate if needed
|
||||
createdAt: new Date(), // TODO: add to API
|
||||
} as Team,
|
||||
role: membership.role,
|
||||
joinedAt: new Date(membership.joinedAt),
|
||||
|
||||
Reference in New Issue
Block a user