forked from crowetic/commerce
Merge branch 'master' of https://github.com/okbel/e-comm-example
This commit is contained in:
commit
5469458665
@ -16,7 +16,6 @@ interface ProductData {
|
|||||||
|
|
||||||
const ProductCard: FC<Props> = ({ className, productData }) => {
|
const ProductCard: FC<Props> = ({ className, productData }) => {
|
||||||
const rootClassName = cn(s.root, className)
|
const rootClassName = cn(s.root, className)
|
||||||
console.log(productData)
|
|
||||||
return (
|
return (
|
||||||
<div className={rootClassName}>
|
<div className={rootClassName}>
|
||||||
{/* Overlay */}
|
{/* Overlay */}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { GetStaticPropsContext, InferGetStaticPropsType } from 'next'
|
import { GetStaticPropsContext, InferGetStaticPropsType } from 'next'
|
||||||
import getAllProducts from 'lib/bigcommerce/api/operations/get-all-products'
|
import getAllProducts from '@lib/bigcommerce/api/operations/get-all-products'
|
||||||
import { Layout } from '@components/core'
|
import { Layout } from '@components/core'
|
||||||
import { ProductGrid } from '@components/product'
|
import { ProductGrid } from '@components/product'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user