Skip to content

UncontrolledTreeEnvironment is throwing error #355

@kherP

Description

@kherP

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.
image

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions