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 {
|
interface Props {
|
||||||
categories?: any
|
categories?: any
|
||||||
brands?: any
|
brands?: any
|
||||||
products?: Product[]
|
// TODO: use the product type here
|
||||||
|
products?: any[]
|
||||||
}
|
}
|
||||||
|
|
||||||
const Head: FC<Props> = ({ categories, brands, products = [] }) => {
|
const Head: FC<Props> = ({ categories, brands, products = [] }) => {
|
||||||
|
@ -7,7 +7,8 @@ import Image, { ImageProps } from 'next/image'
|
|||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
className?: string
|
className?: string
|
||||||
product: Product
|
// TODO: use the product type here
|
||||||
|
product: any
|
||||||
variant?: 'slim' | 'simple'
|
variant?: 'slim' | 'simple'
|
||||||
imgProps?: Omit<ImageProps, 'src'>
|
imgProps?: Omit<ImageProps, 'src'>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user