Skip to content

Commit

Permalink
fix: href of product name (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
DIWAKARKASHYAP authored Feb 12, 2025
1 parent 78b5d8d commit 54eda9e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion apps/frontend/app/marketplace/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,15 @@ export default function ProductList() {
`common.products.categories.${product.category.toLowerCase()}`,
)}
</p>
<Link href={`/marketplace/${product.id}`}>
<Link
href={`/marketplace/${generateProductSlug(
t(
`common.products.items.${getProductKey(
product.id,
)}.name`,
),
)}`}
>
<CardTitle className="text-xl font-medium cursor-pointer hover:underline pt-0">
{t(
`common.products.items.${getProductKey(
Expand Down

0 comments on commit 54eda9e

Please sign in to comment.