Pie chart crashing on refresh #11292
AntonioNeznamProgramirat
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We found out that the whole app will crash if you use Pie chart and refresh the app. It only crashes on the pie chart, when we removed it, the app works fine when you refresh the app.
The work around is to first have mock data on render and with useEffect hook fill in the data you generate.
Sorry if this is the wrong format, first time doing something like this.
Hope someone finds this helpfull.
Beta Was this translation helpful? Give feedback.
All reactions