Prod: fixes

This commit is contained in:
Enrico Ros
2024-10-01 18:50:11 -07:00
parent 51cd6a7e07
commit 3cd2b29a37
+3 -1
View File
@@ -327,8 +327,10 @@ function B(props: {
);
if (!href)
return boldText;
// append UTM details if missing
const hrefWithUtm = href.includes('utm_source=') ? href : href + clientUtmSource();
return (
<ExternalLink href={href + clientUtmSource()} highlight={props.wow} icon={props.issue ? 'issue' : undefined}>
<ExternalLink href={hrefWithUtm} highlight={props.wow} icon={props.issue ? 'issue' : undefined}>
{boldText}
</ExternalLink>
);