forked from crowetic/commerce
Fixed more types
This commit is contained in:
parent
d9243880a3
commit
c636fcbc4b
@ -8,7 +8,8 @@ import { getCategoryPath, getDesignerPath } from '@lib/search'
|
||||
interface Props {
|
||||
categories?: any
|
||||
brands?: any
|
||||
products?: Product[]
|
||||
// TODO: use the product type here
|
||||
products?: any[]
|
||||
}
|
||||
|
||||
const Head: FC<Props> = ({ categories, brands, products = [] }) => {
|
||||
|
@ -7,7 +7,8 @@ import Image, { ImageProps } from 'next/image'
|
||||
|
||||
interface Props {
|
||||
className?: string
|
||||
product: Product
|
||||
// TODO: use the product type here
|
||||
product: any
|
||||
variant?: 'slim' | 'simple'
|
||||
imgProps?: Omit<ImageProps, 'src'>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user