fix: FINNALY FIXED AND COMPILABLE

This commit is contained in:
2026-06-24 11:37:56 +01:00
parent e9555c9f74
commit 426c1c50a0
13 changed files with 56 additions and 62 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
import { query } from '@/lib/db';
import { LiveDotIcon } from '@/components/ui/icons';
import DashboardClient from '@/components/dashboard/DashboardClient';
import { Driver, DriverServerRow } from '@/types/racing';
import { DashboardDriver } from '@/components/dashboard/DashboardClient';
export const dynamic = "force-dynamic";
async function getConnectedDrivers() {
@@ -37,7 +37,7 @@ async function getConnectedDrivers() {
const rows = await query(sql);
const drivers: Driver[] = rows.map((row: DriverServerRow) => ({
const drivers: DashboardDriver[] = rows.map((row: any) => ({
driver_guid: row.driver_guid,
driver_name: row.driver_name,
driver_team: row.driver_team,