Skip to content

Commit 79c268e

Browse files
committed
fix: update ArticleItem component to use Product type instead of Article type
1 parent 1680297 commit 79c268e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { VscTriangleUp } from 'react-icons/vsc'
33
import { CardItemWithActions, CardLink } from 'src/components/Elements'
44
import { Attributes } from 'src/lib/analytics'
55
import { useUserPreferences } from 'src/stores/preferences'
6-
import { Article, BaseItemPropsType } from 'src/types'
6+
import { BaseItemPropsType, Product } from 'src/types'
77

8-
const ArticleItem = ({ item, analyticsTag }: BaseItemPropsType<Article>) => {
8+
const ArticleItem = ({ item, analyticsTag }: BaseItemPropsType<Product>) => {
99
const { listingMode } = useUserPreferences()
1010

1111
return (

0 commit comments

Comments
 (0)