remove spread operator from <Link> component

This commit is contained in:
Gandharv 2021-04-08 02:16:27 +05:30 committed by GitHub
parent f770ad7a91
commit 6da0f14923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">