UncontrolledTreeEnvironment is throwing error
Closed this issue · 2 comments
Describe the bug
A clear and concise description of what the bug is.
it's possible for potentialParent to undefined, causing potentialParent.children to throw error.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'children')
To Reproduce
Steps to reproduce the behavior (ideally a codesandbox link or similar if for a library issue):
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem. A gif or screencast can also help understand your problem.

Additional context
You can help by providing additional details that are available to you, such as
- Device if mobile
- Operating System, Browser
- Version of the Library or tool for which you report the bug
Hello @kherP! Thanks again for your contribution. The change has been released in a new version, please let me know if it solved your problem so I can close this issue if it was resolved.
Hi @lukasbach , yes it does. Thank you very much!