pagination page_size updated , breadcrumb color changed , sub link text changed (ru) on navbar
This commit is contained in:
@@ -16,8 +16,8 @@ export const endPoints = {
|
||||
},
|
||||
product: {
|
||||
byCategory: ({ id, currentPage }: ProductTypes) => {
|
||||
let link = "product/";
|
||||
if (id) link += `?category=${id}`;
|
||||
let link = "product/?page_size=12";
|
||||
if (id) link += `&category=${id}`;
|
||||
if (currentPage) link += `&page=${currentPage}`;
|
||||
|
||||
return link;
|
||||
|
||||
Reference in New Issue
Block a user