Skip to content

Commit

Permalink
J Buttner: remove unnecessary const
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed Sep 10, 2020
1 parent 3895726 commit e5c3524
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@ const SubButton = React.memo(
title: string;
nodeID: string;
}) => {
const hasIcon = hasMenu ?? false;
const iconType = menuIsOpen === true ? 'arrowUp' : 'arrowDown';
return (
<StyledActionButton
onClick={action}
iconType={hasIcon ? iconType : 'none'}
iconType={hasMenu ? iconType : 'none'}
fill={false}
color={'primary'}
size="s"
Expand Down

0 comments on commit e5c3524

Please sign in to comment.