@bluemarble/bm-components 1.9.3 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4804,7 +4804,8 @@ function useGrid({
|
|
|
4804
4804
|
}, [filteredData, currentPage, rowsPerPage, sortData]);
|
|
4805
4805
|
const totalNumberOfPages = Math.ceil(filteredData.length / rowsPerPage) - 1;
|
|
4806
4806
|
_react.useEffect.call(void 0, () => {
|
|
4807
|
-
|
|
4807
|
+
if (externalDefaultData)
|
|
4808
|
+
setDefaultData(externalDefaultData);
|
|
4808
4809
|
}, [externalDefaultData]);
|
|
4809
4810
|
return {
|
|
4810
4811
|
data: displayData,
|