Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor toggleHeading to be clearer about it's intentions
isOpen was initially set, to the *current* state. Subsequent controls were inverting that. If we invert it at the beginning this becomes clearer Note - also renamed to setOpen to signify intent.
- Loading branch information