improvements
This commit is contained in:
@@ -87,7 +87,7 @@ export const MatchForm: React.FC<MatchFormProps> = ({
|
||||
{match.home?.name} Cups
|
||||
</Text>
|
||||
{
|
||||
match.home?.players.map(p => (<Text size='xs' c='dimmed'>
|
||||
match.home?.players?.map(p => (<Text key={p.id} size='xs' c='dimmed'>
|
||||
{p.first_name} {p.last_name}
|
||||
</Text>))
|
||||
}
|
||||
@@ -110,7 +110,7 @@ export const MatchForm: React.FC<MatchFormProps> = ({
|
||||
{match.away?.name} Cups
|
||||
</Text>
|
||||
{
|
||||
match.away?.players.map(p => (<Text size='xs' c='dimmed'>
|
||||
match.away?.players?.map(p => (<Text key={p.id} size='xs' c='dimmed'>
|
||||
{p.first_name} {p.last_name}
|
||||
</Text>))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user