website refactor
This commit is contained in:
@@ -194,17 +194,10 @@ export function LeagueSchedule({ leagueId, onRaceClick }: LeagueScheduleProps) {
|
||||
<Stack display="flex" alignItems="center" gap={3}>
|
||||
<Stack textAlign="right">
|
||||
<Text color="text-white" weight="medium" block>
|
||||
{race.scheduledAt.toLocaleDateString('en-US', {
|
||||
month: 'short',
|
||||
day: 'numeric',
|
||||
year: 'numeric',
|
||||
})}
|
||||
{race.formattedDate}
|
||||
</Text>
|
||||
<Text size="sm" color="text-gray-400" block>
|
||||
{race.scheduledAt.toLocaleTimeString([], {
|
||||
hour: '2-digit',
|
||||
minute: '2-digit',
|
||||
})}
|
||||
{race.formattedTime}
|
||||
</Text>
|
||||
{isPast && race.status === 'completed' && (
|
||||
<Text size="xs" color="text-primary-blue" mt={1} block>View Results →</Text>
|
||||
|
||||
Reference in New Issue
Block a user