Comparing version 2.1.2 to 2.1.3
@@ -571,3 +571,3 @@ 'use strict' | ||
;(0, _passiveLayoutEffect.default)(() => { | ||
if (typeof onRender === 'function') { | ||
if (typeof onRender === 'function' && stopIndex.current !== void 0) { | ||
onRender(startIndex.current, stopIndex.current, items) | ||
@@ -574,0 +574,0 @@ prevStartIndex.current = startIndex.current |
@@ -537,3 +537,3 @@ import _pt from 'prop-types' | ||
useLayoutEffect(() => { | ||
if (typeof onRender === 'function') { | ||
if (typeof onRender === 'function' && stopIndex.current !== void 0) { | ||
onRender(startIndex.current, stopIndex.current, items) | ||
@@ -540,0 +540,0 @@ prevStartIndex.current = startIndex.current |
{ | ||
"name": "masonic", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"homepage": "https://github.com/jaredLunde/masonic#readme", | ||
@@ -5,0 +5,0 @@ "repository": "github:jaredLunde/masonic", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115422