mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
correct number of items on page
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
parent
071d811cd9
commit
0540bad3fd
@ -13,7 +13,7 @@ export function getSearchQuery(
|
|||||||
): SearchQuery {
|
): SearchQuery {
|
||||||
return {
|
return {
|
||||||
page: Number(page) || 1,
|
page: Number(page) || 1,
|
||||||
offset: Number(offset) || 20,
|
offset: Number(offset) || 21,
|
||||||
query: {
|
query: {
|
||||||
text,
|
text,
|
||||||
tags: tags ? [tags] : undefined,
|
tags: tags ? [tags] : undefined,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user