@trackunit/react-table-pagination
Advanced tools
Comparing version 0.0.58 to 0.0.59
@@ -83,3 +83,3 @@ 'use strict'; | ||
const [pageInfo, setPageInfo] = react.useState(); | ||
const [isLoading, setIsLoading] = react.useState(false); | ||
const [isLoading, setIsLoading] = react.useState(true); | ||
const nextPage = react.useCallback(() => { | ||
@@ -86,0 +86,0 @@ if (pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.hasNextPage) { |
@@ -79,3 +79,3 @@ import { useVirtualizer } from '@tanstack/react-virtual'; | ||
const [pageInfo, setPageInfo] = useState(); | ||
const [isLoading, setIsLoading] = useState(false); | ||
const [isLoading, setIsLoading] = useState(true); | ||
const nextPage = useCallback(() => { | ||
@@ -82,0 +82,0 @@ if (pageInfo === null || pageInfo === void 0 ? void 0 : pageInfo.hasNextPage) { |
{ | ||
"name": "@trackunit/react-table-pagination", | ||
"version": "0.0.58", | ||
"version": "0.0.59", | ||
"repository": "https://github.com/Trackunit/manager", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.txt", |
14990