website refactor
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { DriverViewModel } from "@/lib/view-models/DriverViewModel";
|
||||
import { ProtestViewModel } from "@/lib/view-models/ProtestViewModel";
|
||||
import { RaceViewModel } from "@/lib/view-models/RaceViewModel";
|
||||
import { Box } from "@/ui/Box";
|
||||
import { Card } from "@/ui/Card";
|
||||
import { ProtestListItem } from "./ProtestListItem";
|
||||
@@ -12,7 +13,10 @@ import { Flag } from "lucide-react";
|
||||
interface PendingProtestsListProps {
|
||||
protests: ProtestViewModel[];
|
||||
drivers: Record<string, DriverViewModel>;
|
||||
races: Record<string, RaceViewModel>;
|
||||
leagueId: string;
|
||||
onReviewProtest: (protest: ProtestViewModel) => void;
|
||||
onProtestReviewed?: () => void;
|
||||
}
|
||||
|
||||
export function PendingProtestsList({
|
||||
|
||||
Reference in New Issue
Block a user