Skip to content

Commit 325d928

Browse files
committed
Docs
1 parent 031156e commit 325d928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/hydrogen/src/pagination/Pagination.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ type PaginationProps<NodesType> = {
8787
connection: Connection<NodesType>;
8888
/** A render prop that includes pagination data and helpers. */
8989
children: PaginationRenderProp<NodesType>;
90-
/** A namespace for the pagination component to avoid URL param conflicts. */
90+
/** A namespace for the pagination component to avoid URL param conflicts when using multiple `Pagination` components on a single page. */
9191
namespace?: string;
9292
};
9393

@@ -434,7 +434,7 @@ export function usePagination<NodesType>(
434434

435435
/**
436436
* @param request The request object passed to your Remix loader function.
437-
* @param options Options for how to configure the pagination variables. Includes the ability to change how many nodes are within each page.
437+
* @param options Options for how to configure the pagination variables. Includes the ability to change how many nodes are within each page as well as a namespace to avoid URL param conflicts when using multiple `Pagination` components on a single page.
438438
*
439439
* @returns Variables to be used with the `storefront.query` function
440440
*/

0 commit comments

Comments
 (0)