Skip to content

Commit

Permalink
fix: undefined uni
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Dec 28, 2023
1 parent cca3afb commit f8e4b0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}),
});
Expand Down
2 changes: 1 addition & 1 deletion components/search/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}),
});
Expand Down

0 comments on commit f8e4b0b

Please sign in to comment.