Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Histogram ticklabelprops fix #184

Merged
merged 2 commits into from
Jul 24, 2019

Conversation

mfe5003
Copy link

@mfe5003 mfe5003 commented Jul 20, 2019

🐛 Bug Fix
Applies the same fix from #82 for histogram axes as well.
Closes #183

Copy link
Owner

@williaster williaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @mfe5003 ! I had one small comment but since the build is failing anyway (not due to your change) I'll go ahead and merge and fix my comment + the build.

🏆

let tickLabelProps = passedTickLabelProps;

if (!tickLabelProps) {
tickLabelProps = tickStyles.label && tickStyles.label[orientation] ? function () {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason you are not using an arrow function () => ... here?

@williaster williaster merged commit 25b78e8 into williaster:master Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

histogram tickLabelProps
2 participants