victory-core
Advanced tools
@@ -66,2 +66,7 @@ import _isPlainObject from "lodash/isPlainObject"; | ||
var firstChild = Array.isArray(children) && children[0]; | ||
if (!firstChild) { | ||
return undefined; | ||
} | ||
var barWidth = firstChild.props.barWidth; | ||
@@ -68,0 +73,0 @@ var dataLength = firstChild.props.data && firstChild.props.data.length || 1; |
@@ -95,2 +95,7 @@ "use strict"; | ||
var firstChild = Array.isArray(children) && children[0]; | ||
if (!firstChild) { | ||
return undefined; | ||
} | ||
var barWidth = firstChild.props.barWidth; | ||
@@ -97,0 +102,0 @@ var dataLength = firstChild.props.data && firstChild.props.data.length || 1; |
{ | ||
"name": "victory-core", | ||
"version": "35.9.0", | ||
"version": "35.9.2", | ||
"description": "Victory Core", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -51,2 +51,5 @@ import { | ||
const firstChild = Array.isArray(children) && children[0]; | ||
if (!firstChild) { | ||
return undefined; | ||
} | ||
let barWidth = firstChild.props.barWidth; | ||
@@ -53,0 +56,0 @@ let dataLength = |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2277955
0.01%46674
0.03%