mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Type fixes
This commit is contained in:
@@ -141,10 +141,11 @@ export default function Search({
|
||||
|
||||
{data ? (
|
||||
<Grid layout="normal">
|
||||
{data.products.map((p: any) => (
|
||||
{data.products.map(({ node }) => (
|
||||
<ProductCard
|
||||
key={node.path}
|
||||
className="animate__animated animate__fadeIn"
|
||||
{...p}
|
||||
product={node}
|
||||
/>
|
||||
))}
|
||||
</Grid>
|
||||
|
Reference in New Issue
Block a user