diff --git a/components/hero/hero.tsx b/components/hero/hero.tsx index 1c3ec0c..95cd26e 100644 --- a/components/hero/hero.tsx +++ b/components/hero/hero.tsx @@ -55,7 +55,7 @@ const Hero = () => { category: analyticsEnum.search.title, action: analyticsEnum.search.actions.SEARCH, label: university, - value: UNIVERSITY_GE.university.findIndex((item) => { + value: UNIVERSITY_GE[university].findIndex((item) => { return item.includes(ge); }), }); diff --git a/components/search/search.tsx b/components/search/search.tsx index 8b3ba60..f0089d4 100644 --- a/components/search/search.tsx +++ b/components/search/search.tsx @@ -176,7 +176,7 @@ const Search = () => { category: analyticsEnum.search.title, action: analyticsEnum.search.actions.SEARCH, label: university, - value: UNIVERSITY_GE.university.findIndex((item) => { + value: UNIVERSITY_GE[university].findIndex((item) => { return item.includes(ge); }), });