api fetch type fixed
This commit is contained in:
parent
e29eec29c8
commit
58e18e7380
|
|
@ -64,7 +64,7 @@ const TeamSlider = () => {
|
|||
}}
|
||||
>
|
||||
{team[0].id !== -1
|
||||
? team.map((el: any) => {
|
||||
? team.map((el: Player) => {
|
||||
if (el.national) {
|
||||
return (
|
||||
<SwiperSlide key={uuidv4()}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue