website refactor

This commit is contained in:
2026-01-18 00:17:01 +01:00
parent 69d4cce7f1
commit 4b66c682a0
18 changed files with 847 additions and 87 deletions

View File

@@ -63,7 +63,7 @@ export function LeagueSponsorshipsSection({
if (!currentDriverId) return;
try {
await sponsorshipService.acceptSponsorshipRequest(requestId, currentDriverId);
await (sponsorshipService as any).acceptSponsorshipRequest(requestId, currentDriverId);
await refetchRequests();
} catch (err) {
console.error('Failed to accept request:', err);
@@ -75,7 +75,7 @@ export function LeagueSponsorshipsSection({
if (!currentDriverId) return;
try {
await sponsorshipService.rejectSponsorshipRequest(requestId, currentDriverId, reason);
await (sponsorshipService as any).rejectSponsorshipRequest(requestId, currentDriverId, reason);
await refetchRequests();
} catch (err) {
console.error('Failed to reject request:', err);