refactor: remove syntactic sugar

This commit is contained in:
José Oliveira 2021-05-13 22:54:19 +01:00 committed by Josh Harvey
parent 800b007fb1
commit c4bf83ab9e

View file

@ -260,16 +260,13 @@ const DetailsRow = ({ it: tx }) => {
</div> </div>
<div> <div>
{ {
<div <div onClick={() => downloadRawLogs(tx)}>
onClick={() => {
downloadRawLogs(tx)
}}>
<Label>Other actions</Label> <Label>Other actions</Label>
<ActionButton <ActionButton
color="primary" color="primary"
Icon={Download} Icon={Download}
className={classes.downloadRawLogs}> className={classes.downloadRawLogs}>
{'Download raw logs'} Download raw logs
</ActionButton> </ActionButton>
</div> </div>
} }