rc-pagination
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -30,3 +30,3 @@ 'use strict'; | ||
var hasOnChange = props.onChange !== noop; | ||
var hasCurrent = props.current !== -1; | ||
var hasCurrent = ('current' in props); | ||
if (hasCurrent && !hasOnChange) { | ||
@@ -33,0 +33,0 @@ console.warn('Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.'); |
{ | ||
"name": "rc-pagination", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "pagination ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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