Skip to content

Commit

Permalink
fix(bar): getLabel is defined twice (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
bripkens authored and Raphaël Benitte committed Oct 20, 2017
1 parent 0c9efe4 commit 4cfd3a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/charts/bar/enhance.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ export default Component =>
withPropsOnChange(['indexBy'], ({ indexBy }) => ({
getIndex: getAccessorFor(indexBy),
})),
withPropsOnChange(['label', 'labelFormat'], ({ label, labelFormat }) => ({
getLabel: getLabelGenerator(label, labelFormat),
})),
withPropsOnChange(['labelTextColor'], ({ labelTextColor }) => ({
getLabelTextColor: getInheritedColorGenerator(labelTextColor, 'axis.textColor'),
})),
Expand Down

0 comments on commit 4cfd3a1

Please sign in to comment.