mirror of
https://github.com/evroon/bracket.git
synced 2026-04-23 08:47:03 -04:00
Fix start time null (#323)
This commit is contained in:
@@ -55,7 +55,8 @@ export function MatchBadge({ match, theme }: { match: MatchInterface; theme: any
|
||||
>
|
||||
<Center>
|
||||
<b>
|
||||
{match.court?.name} | <Time datetime={match.start_time} />
|
||||
{match.court?.name} |{' '}
|
||||
{match.start_time != null ? <Time datetime={match.start_time} /> : null}
|
||||
</b>
|
||||
</Center>
|
||||
</div>
|
||||
|
||||
@@ -59,7 +59,7 @@ function ScheduleRow({
|
||||
</Text>
|
||||
</Group>
|
||||
<Badge color="gray" variant="dot" size="lg">
|
||||
<Time datetime={match.start_time} />
|
||||
{match.start_time != null ? <Time datetime={match.start_time} /> : null}
|
||||
</Badge>
|
||||
</Group>
|
||||
<Badge color={stageItemColor} variant="outline">
|
||||
|
||||
Reference in New Issue
Block a user