Type fixes

This commit is contained in:
Luis Alvarez
2020-10-19 12:40:26 -05:00
parent a3e021ec79
commit 9309bff517
5 changed files with 24 additions and 27 deletions

View File

@@ -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>