code quality
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
'use client';
|
||||
|
||||
|
||||
import { RaceFilterModal } from '@/components/races/RaceFilterModal';
|
||||
import { RacePageHeader } from '@/components/races/RacePageHeader';
|
||||
@@ -6,11 +6,11 @@ import { RaceScheduleTable } from '@/components/races/RaceScheduleTable';
|
||||
import { RacesAllLayout, RacesAllStats } from '@/components/races/RacesAllLayout';
|
||||
import { RaceScheduleSection } from '@/components/races/RacesLayout';
|
||||
import type { SessionStatus } from '@/components/races/SessionStatusBadge';
|
||||
import { TemplateProps } from '@/lib/contracts/components/ComponentContracts';
|
||||
import type { RacesViewData } from '@/lib/view-data/RacesViewData';
|
||||
import { Box } from '@/ui/Box';
|
||||
import { Pagination } from '@/ui/Pagination';
|
||||
import { Text } from '@/ui/Text';
|
||||
import { Box } from '@/ui/Box';
|
||||
import { TemplateProps } from '@/lib/contracts/components/ComponentContracts';
|
||||
|
||||
export type StatusFilter = 'scheduled' | 'running' | 'completed' | 'cancelled' | 'all';
|
||||
|
||||
@@ -44,10 +44,8 @@ export function RacesAllTemplate({
|
||||
viewData,
|
||||
races,
|
||||
totalFilteredCount,
|
||||
isLoading,
|
||||
currentPage,
|
||||
totalPages,
|
||||
itemsPerPage,
|
||||
onPageChange,
|
||||
statusFilter,
|
||||
setStatusFilter,
|
||||
|
||||
Reference in New Issue
Block a user