We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
injectedGlobalOptions
undefined
1 parent 5973e83 commit f5d0050Copy full SHA for f5d0050
src/usePagination.ts
@@ -58,7 +58,7 @@ function usePagination<R, P extends unknown[] = any>(
58
const { currentKey, pageSizeKey, totalKey, totalPageKey } = merge(
59
defaultPaginationOptions,
60
getGlobalOptions().pagination || {},
61
- injectedGlobalOptions.pagination || {},
+ injectedGlobalOptions?.pagination || {},
62
pagination || {},
63
) as PaginationType;
64
0 commit comments