Skip to content

Commit

Permalink
Merge f6833d2 into 7cfdb9c
Browse files Browse the repository at this point in the history
  • Loading branch information
benshope committed Jul 11, 2018
2 parents 7cfdb9c + f6833d2 commit ca37cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plot/xy-plot.js
Expand Up @@ -476,7 +476,7 @@ class XYPlot extends React.Component {
return React.cloneElement(child, {
...dimensions,
animation,
...(dataProps ?
...(dataProps && (!child.prototype || !child.prototype.render) ?
{
ref: ref => (this[`series${seriesProps[index].seriesIndex}`] = ref)
} :
Expand Down

0 comments on commit ca37cc4

Please sign in to comment.