Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Upgrade to styled-components v4.2.0 #374

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/components/ProjectIconSelection/ProjectIconSelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@ class ProjectIconSelection extends Component<Props> {
size={DEFAULT_ICON_SIZE}
onClick={ev => this.props.onSelectIcon(src, ev)}
status={
selectedIcon === null
? 'default'
: selectedIcon.includes(src)
? 'highlighted'
: 'faded'
selectedIcon && selectedIcon.includes(src)
melanieseltzer marked this conversation as resolved.
Show resolved Hide resolved
? 'highlighted'
: 'faded'
}
/>
</SelectableImageWrapper>
Expand Down