api fetch type fixed
This commit is contained in:
parent
313a30d0dd
commit
4bb48e59fc
|
|
@ -54,7 +54,7 @@ const Rating = () => {
|
|||
className={players ? "rating-banner" : "rating-banner disabled"}
|
||||
>
|
||||
{players[0].id !== -1
|
||||
? players.map((player: any) => {
|
||||
? players.map((player: Player) => {
|
||||
if (player.national === 0) {
|
||||
return (
|
||||
<Link
|
||||
|
|
|
|||
Loading…
Reference in New Issue