Skip to content

Commit 872f752

Browse files
committed
feat: enable appendRef by default in CardLink component for improved functionality
1 parent f799461 commit 872f752

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/Elements/CardLink/CardLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const CardLink = ({
1414
link,
1515
children,
1616
className = '',
17-
appendRef = false,
17+
appendRef = true,
1818
analyticsAttributes,
1919
}: CardLinkProps) => {
2020
return (

src/features/cards/components/producthuntCard/ArticleItem.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const ArticleItem = ({ item, analyticsTag }: BaseItemPropsType<Product>) => {
1818
<div className="phContent">
1919
<CardLink
2020
link={item.url}
21-
appendRef={false}
2221
analyticsAttributes={{
2322
[Attributes.POINTS]: item.votes_count,
2423
[Attributes.TRIGERED_FROM]: 'card',

0 commit comments

Comments
 (0)