Wip stage M4

This commit is contained in:
Nông Đức Huy
2026-08-13 23:20:22 +07:00
parent 5386bc51d1
commit d5cacc1208
113 changed files with 9486 additions and 919 deletions
+4
View File
@@ -21,6 +21,10 @@ export function parseListingParams(params: RawSearchParams): ProductListQuery {
categorySlug: single(params['category']),
onSale: single(params['onSale']) === 'true' ? true : undefined,
sort: parseSort(single(params['sort'])),
// Present only when someone followed the "load more" link without
// JavaScript, or a crawler did. The client path appends in place and never
// puts a cursor in the address bar.
cursor: single(params['cursor']),
};
}