Skip to content

Commit

Permalink
Merge pull request #423 from EugeneDraitsev/barstack-example-fix
Browse files Browse the repository at this point in the history
Fixed broken BarStacks example
  • Loading branch information
hshoff authored Feb 22, 2019
2 parents 2b7e30b + 5f16c6f commit c2b4452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vx-demo/pages/barstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default withTooltip(
/>
<Group top={margin.top}>
<BarStack data={data} keys={keys} x={x} xScale={xScale} yScale={yScale} color={color}>
{({ barStacks }) => {
{barStacks => {
return barStacks.map(barStack => {
return barStack.bars.map(bar => {
return (
Expand Down

0 comments on commit c2b4452

Please sign in to comment.