Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use div instead of DisclosureButton for decls in the module tree (…
…#2587) This fixes a `Cannot read properties of undefined (reading 'length')` error that was appearing every time you went to the modules page, which was coming from inside `DisclosureButton`. The error's stack trace was minified beyond comprehension, but I'm guessing it was because this was a malformed usage of `DisclosureButton` - not wrapped in a corresponding `Disclosure` (its parent `Disclosure` component mapped to the higher level module buttons, not the decl items).
- Loading branch information