mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 21:21:21 +00:00
remove spread operator from <Link> component
This commit is contained in:
parent
f770ad7a91
commit
6da0f14923
@ -22,7 +22,7 @@ const ProductCard: FC<Props> = ({
|
||||
imgProps,
|
||||
...props
|
||||
}) => (
|
||||
<Link href={`/product/${product.slug}`} {...props}>
|
||||
<Link href={`/product/${product.slug}`}>
|
||||
<a className={cn(s.root, { [s.simple]: variant === 'simple' }, className)}>
|
||||
{variant === 'slim' ? (
|
||||
<div className="relative overflow-hidden box-border">
|
||||
|
Loading…
x
Reference in New Issue
Block a user