Skip to content

Commit

Permalink
Default namespace to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdixon committed Nov 21, 2024
1 parent 0ba0725 commit 894cc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hydrogen/src/pagination/Pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function makeError(prop: string) {
*/
export function usePagination<NodesType>(
connection: Connection<NodesType>,
namespace: string = 'default',
namespace: string = '',
): Omit<
PaginationInfo<NodesType>,
'isLoading' | 'state' | 'NextLink' | 'PreviousLink'
Expand Down

0 comments on commit 894cc17

Please sign in to comment.