do to formatters
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
|
||||
import { RaceHero as UiRaceHero } from '@/components/races/RaceHero';
|
||||
import { DateFormatter } from '@/lib/formatters/DateFormatter';
|
||||
import { LucideIcon } from 'lucide-react';
|
||||
import { DateDisplay } from '@/lib/display-objects/DateDisplay';
|
||||
|
||||
interface RaceHeroProps {
|
||||
track: string;
|
||||
@@ -34,8 +34,8 @@ export function RaceHero(props: RaceHeroProps) {
|
||||
return (
|
||||
<UiRaceHero
|
||||
{...rest}
|
||||
formattedDate={DateDisplay.formatShort(scheduledAt)}
|
||||
formattedTime={DateDisplay.formatTime(scheduledAt)}
|
||||
formattedDate={DateFormatter.formatShort(scheduledAt)}
|
||||
formattedTime={DateFormatter.formatTime(scheduledAt)}
|
||||
statusConfig={mappedConfig}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user