From 58e18e73809e087c4fb1fefcfdbfea7c5a6c67f1 Mon Sep 17 00:00:00 2001 From: VividTruthKeeper Date: Fri, 19 Aug 2022 22:32:51 +0500 Subject: [PATCH] api fetch type fixed --- src/components/about_us/TeamSlider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/about_us/TeamSlider.tsx b/src/components/about_us/TeamSlider.tsx index 442a9eb..72bcebb 100644 --- a/src/components/about_us/TeamSlider.tsx +++ b/src/components/about_us/TeamSlider.tsx @@ -64,7 +64,7 @@ const TeamSlider = () => { }} > {team[0].id !== -1 - ? team.map((el: any) => { + ? team.map((el: Player) => { if (el.national) { return (