-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
983ef9f
commit de178e4
Showing
55 changed files
with
4,474 additions
and
6,734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
import { ProductPage } from '@/views'; | ||
import { FC } from 'react'; | ||
|
||
const Product: FC = () => { | ||
return <ProductPage />; | ||
export interface ProductPageProps { | ||
params: { id: string }; | ||
} | ||
|
||
// export async function generateStaticParams() { | ||
// return productData.map((post) => ({ | ||
// product: post.id, | ||
// })); | ||
// } | ||
|
||
const Product: FC<ProductPageProps> = ({ params }) => { | ||
return <ProductPage params={params} />; | ||
}; | ||
|
||
export default Product; |
Oops, something went wrong.