'use client' import { cn } from 'lib/utils' import { FC } from 'react' // import type { Product } from '@commerce/types/product' import dynamic from 'next/dynamic' // import usePrice from '@framework/product/use-price' // const WishlistButton = dynamic( // () => import('@components/wishlist/WishlistButton') // ) const ProductTag = dynamic(() => import('components/ui/product-tag')) const SanityImage = dynamic(() => import('components/ui/sanity-image')) interface Props { className?: string // product: Product variant?: 'default' } const ProductCard: FC = ({ // product, className, variant = 'default', }) => { // const { price } = usePrice({ // amount: product.price.value, // baseAmount: product.price.retailPrice, // currencyCode: product.price.currencyCode!, // }) const rootClassName = cn( 'w-full min-w-0 grow-0 shrink-0 group relative box-border overflow-hidden transition-transform ease-linear basis-[50%]', className ) return ( <>Produyct // // {variant === 'default' && ( // <> //
// {/* {process.env.COMMERCE_WISHLIST_ENABLED && ( // // )} */} // {/*
// {product?.images && ( // // )} //
*/} // //
// // )} // ) } export default ProductCard