From 9cb59ae68472be520822dbab47c91b337012f377 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Tue, 4 Oct 2022 19:15:33 +0600 Subject: [PATCH] feat(#2878): add sport - football to highlights --- src/pages/HighlightsPage/components/FormHighlights/hooks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/HighlightsPage/components/FormHighlights/hooks.tsx b/src/pages/HighlightsPage/components/FormHighlights/hooks.tsx index b7224e4c..a83b35cf 100644 --- a/src/pages/HighlightsPage/components/FormHighlights/hooks.tsx +++ b/src/pages/HighlightsPage/components/FormHighlights/hooks.tsx @@ -266,7 +266,7 @@ export const useHighlightsForm = () => { getSportList() .then((res) => setSports( res - ?.filter((sport: SportType) => sport.id === 3) + ?.filter(({ id }: SportType) => id === 3 || id === 1) .map((sport: SportType) => ({ ...sport, name: sport?.name_eng,