Updated recommended changes and made simplifications

pull/682/head
Vincent 6 years ago
parent 08bf89bdd1
commit d866e0ca2d

@ -53,10 +53,9 @@ export class SessionIconButton extends React.PureComponent<Props> {
iconSize === SessionIconButtonSizes.large ? 'large' : '' iconSize === SessionIconButtonSizes.large ? 'large' : ''
)} )}
role="button" role="button"
onClick={ e => { onClick={e => {
this.clickHandler(e); this.clickHandler(e);
} }}
}
> >
<img src={iconPath} alt="Icon Button" /> <img src={iconPath} alt="Icon Button" />
</div> </div>

Loading…
Cancel
Save