Refactoring
This commit is contained in:
@@ -152,13 +152,14 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
removeControl = (
|
removeControl = (
|
||||||
|
<RootElem col={dimensions=>dimensions.columns - 6}
|
||||||
|
row={secondRow + 3}>
|
||||||
<a href={'#'}
|
<a href={'#'}
|
||||||
col={dimensions=>dimensions.columns - 6}
|
|
||||||
onClick={handleRemoveMount}
|
onClick={handleRemoveMount}
|
||||||
row={secondRow + 3}
|
|
||||||
style={removeStyle}>
|
style={removeStyle}>
|
||||||
<FontAwesomeIcon icon={faTrashAlt}/>
|
<FontAwesomeIcon icon={faTrashAlt}/>
|
||||||
</a>);
|
</a>
|
||||||
|
</RootElem>);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user