chaser-components
Advanced tools
Comparing version 3.6.3 to 3.6.4
{ | ||
"name": "chaser-components", | ||
"description": "Chaser HQ Component Library", | ||
"version": "3.6.3", | ||
"version": "3.6.4", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "module": "dist/index.modern.js", |
@@ -12,3 +12,3 @@ import { useMemo, useCallback, useRef } from 'react'; | ||
data = [], | ||
totalSize = data.length, | ||
totalSize: currentTotalSize = data.length, | ||
page: pageProp, | ||
@@ -24,5 +24,6 @@ pageSize: pageSizeProp, | ||
if (totalSize) { | ||
total.current = totalSize; | ||
if (currentTotalSize) { | ||
total.current = currentTotalSize; | ||
} | ||
const totalSize = total.current; | ||
@@ -80,4 +81,4 @@ const pageData = useMemo(() => { | ||
itemCountOnPage, | ||
totalSize: total.size, | ||
totalSize, | ||
}; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
725028
10505