generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Showing
3 changed files
with
5 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters