Skip to content

Commit

Permalink
addresses comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dplumlee committed Aug 9, 2021
1 parent 2278ac3 commit 33e8165
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ export const FILTER_CLOSED: Status = 'closed';
export const FILTER_IN_PROGRESS: Status = 'in-progress';

const StatusFilterButton = styled(EuiFilterButton)<{ isActive: boolean }>`
${(props) =>
props.isActive
? `
background: ${props.theme.eui.euiColorPrimary};
`
: ''}
background: ${({ isActive, theme }) => (isActive ? theme.eui.euiColorPrimary : '')};
`;

const StatusFilterGroup = styled(EuiFilterGroup)`
Expand Down

0 comments on commit 33e8165

Please sign in to comment.