mirror of
https://github.com/vercel/commerce.git
synced 2025-07-21 11:51:20 +00:00
fix:RecipesList
This commit is contained in:
parent
d642460c65
commit
07844e4503
@ -68,7 +68,7 @@ export default function Test() {
|
|||||||
{/* <BlogDetailPage /> */}
|
{/* <BlogDetailPage /> */}
|
||||||
|
|
||||||
<RecipeListPage/>
|
<RecipeListPage/>
|
||||||
|
|
||||||
{/* <MenuNavigation heading="CATEGORIES" categories={CATEGORY}/>
|
{/* <MenuNavigation heading="CATEGORIES" categories={CATEGORY}/>
|
||||||
<MenuNavigationProductList categories={CATEGORY} brands={BRAND} featured={BRAND}/> */}
|
<MenuNavigationProductList categories={CATEGORY} brands={BRAND} featured={BRAND}/> */}
|
||||||
</>
|
</>
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import s from './RecipesItem.module.scss';
|
import s from './RecipesItem.module.scss';
|
||||||
|
|
||||||
|
|
||||||
interface RecipesItem {
|
interface RecipesItem {
|
||||||
image:string,
|
image:string,
|
||||||
name: string,
|
name: string,
|
||||||
|
@ -2,8 +2,6 @@ import React from 'react';
|
|||||||
import PaginationCommon from 'src/components/common/PaginationCommon/PaginationCommon';
|
import PaginationCommon from 'src/components/common/PaginationCommon/PaginationCommon';
|
||||||
import RecipesItem from './RecipesItem/RecipesItem';
|
import RecipesItem from './RecipesItem/RecipesItem';
|
||||||
import s from './RecipesList.module.scss';
|
import s from './RecipesList.module.scss';
|
||||||
|
|
||||||
|
|
||||||
interface Props{
|
interface Props{
|
||||||
recipes:{
|
recipes:{
|
||||||
id:string,
|
id:string,
|
||||||
@ -14,8 +12,6 @@ interface Props{
|
|||||||
}[],
|
}[],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const RecipesList = ({recipes}:Props) => {
|
const RecipesList = ({recipes}:Props) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user