favouuriteProduct added page and page size
This commit is contained in:
@@ -18,7 +18,7 @@ export async function generateMetadata({
|
||||
}: PageProps): Promise<Metadata> {
|
||||
const { locale } = await params;
|
||||
try {
|
||||
const res = await product_api.favouuriteProduct();
|
||||
const res = await product_api.favouuriteProduct({ page: 1, page_size: 1 });
|
||||
const total = res.data.total;
|
||||
|
||||
if (locale === 'ru') {
|
||||
|
||||
Reference in New Issue
Block a user