Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

The sort method cannot be invoked on an Immutable data structure. #178

Closed
rcsheng opened this issue Aug 8, 2017 · 0 comments
Closed

The sort method cannot be invoked on an Immutable data structure. #178

rcsheng opened this issue Aug 8, 2017 · 0 comments

Comments

@rcsheng
Copy link

rcsheng commented Aug 8, 2017

Before filing an issue please ensure the following boxes are checked, if applicable:

  • [x ] I have searched for existing issues

When I follow the example and have a hard-coded data variable, the charts render correctly. However, once I try to tie the data to a variable on my state, I receive the following error: " The sort method cannot be invoked on an Immutable data structure."

Apologies, newbie here.. not sure if this is something to do with the charts, or maybe something else? I've tried using slice() and map() off the data array on my state, but still get the error

@rcsheng rcsheng closed this as completed Aug 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant