Skip to content

Commit

Permalink
Fixed broken BarStacks example
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Draitsev authored and Eugene Draitsev committed Feb 12, 2019
1 parent c10cd39 commit 5f16c6f
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 5f16c6f

Please sign in to comment.