react-free-carousel
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -80,6 +80,6 @@ 'use strict'; | ||
key: 'componentWillReceiveProps', | ||
value: function componentWillReceiveProps(newProps) { | ||
value: function componentWillReceiveProps(nextProps) { | ||
var _this3 = this; | ||
if (toArray(newProps.children).length !== newProps(this.props.children).length) { | ||
if (toArray(nextProps.children).length !== toArray(this.props.children).length) { | ||
setTimeout(function () { | ||
@@ -86,0 +86,0 @@ _this3.reRender(false); |
{ | ||
"name": "react-free-carousel", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Carousel component for free flex-box layout built with React.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -35,4 +35,4 @@ import React from 'react'; | ||
componentWillReceiveProps(newProps) { | ||
if (toArray(newProps.children).length !== newProps(this.props.children).length) { | ||
componentWillReceiveProps(nextProps) { | ||
if (toArray(nextProps.children).length !== toArray(this.props.children).length) { | ||
setTimeout(() => { | ||
@@ -39,0 +39,0 @@ this.reRender(false); |
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
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
848502