mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
bug: ViewAllItem pass props link to href
This commit is contained in:
@@ -3,13 +3,13 @@ import s from './ViewAllItem.module.scss'
|
||||
import Link from 'next/link'
|
||||
|
||||
interface Props {
|
||||
link?: string
|
||||
link: string
|
||||
}
|
||||
|
||||
const ViewAllItem = ({ link }: Props) => {
|
||||
return(
|
||||
<div className={s.viewAll}>
|
||||
<Link href={"/all"}>
|
||||
<Link href={link}>
|
||||
<a className={s.conTent}>
|
||||
View All
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user