Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic

This commit is contained in:
Thibaut Girka
2018-03-28 15:40:34 +02:00
parent 259bc9840b
commit 2888f74c12
5 changed files with 49 additions and 41 deletions

View File

@@ -114,6 +114,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
media={media}
mediaIcon={mediaIcon}
expanded={expanded}
collapsed={false}
setExpansion={setExpansion}
/>