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

If the weights are strings then TreeMap fails without a good error #41

Open
sanjaypojo opened this issue Feb 16, 2018 · 1 comment
Open
Assignees

Comments

@sanjaypojo
Copy link
Member

Do a PropType check in an inner component so that it throws an error if it's not a number

@sanjaypojo
Copy link
Member Author

We could also make treemap more resilient by throwing in a parseFloat on initial data load but we need to enhance PropTypes either way @alisaono

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

No branches or pull requests

2 participants