diff --git a/src/components/search/Hits/SearchResultAlumniEvent.jsx b/src/components/search/Hits/SearchResultAlumniEvent.jsx index bb9a2c290..5efaa6612 100644 --- a/src/components/search/Hits/SearchResultAlumniEvent.jsx +++ b/src/components/search/Hits/SearchResultAlumniEvent.jsx @@ -7,7 +7,7 @@ import { CalendarIcon, LocationMarkerIcon } from '@heroicons/react/outline'; import { Heading } from '../../simple/Heading'; import HeroIcon from '../../simple/heroIcon'; import { utmParams } from '../../../utilities/utmParams'; -import { checkParams } from '../../../utilities/checkParams'; +import { checkUTMParams } from '../../../utilities/checkUTMParams'; import { SrOnlyText } from '../../accessibility/SrOnlyText'; /** @@ -74,7 +74,7 @@ const SearchResultAlumniEvent = ({ result }) => { { {fileType === 'video' && ( { +export const checkUTMParams = (url, utms) => { let linkUrl = url; if (linkUrl.match(/\?/) && utms.length) { linkUrl += `&${utms}`;