Skip to content

Commit

Permalink
React warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Oct 22, 2021
1 parent f4de5b0 commit cc74310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/ConceptContainerVersionList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const ConceptContainerVersionList = ({ versions, resource, canEdit, onUpdate, fh
</IconButton>
</Tooltip>
<Tooltip arrow title={version.retired ? 'UnRetire Version' : 'Retire Version'}>
<IconButton className={version.retired && 'retired-red'} color={version.retired ? 'primary' : 'default' } onClick={() => onRetireClick(version)} size='small'>
<IconButton className={version.retired ? 'retired-red' : ''} color={version.retired ? 'primary' : 'default' } onClick={() => onRetireClick(version)} size='small'>
<RetireIcon fontSize='inherit' />
</IconButton>
</Tooltip>
Expand Down

0 comments on commit cc74310

Please sign in to comment.