Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(expansion): avoid unnecessary spacing check (#17693)
The check where `expanded` equals to `false`, and where the value of the `_getExpandedState` method is compared to `default` will always evaluate to `false`. This is because the method return value does not have any overlap with `default`. Hence the check is unnecessary. This seems to be a leftover from f9bd5d4.
- Loading branch information