webpack/components/AnsibleRolesSwitcher/index.js in foreman_ansible-4.0.3.5 vs webpack/components/AnsibleRolesSwitcher/index.js in foreman_ansible-4.0.4
- old
+ new
@@ -33,12 +33,9 @@
const mapDispatchToProps = dispatch =>
bindActionCreators(AnsibleRolesSwitcherActions, dispatch);
export default withProtectedView(
- connect(
- mapStateToProps,
- mapDispatchToProps
- )(AnsibleRolesSwitcher),
+ connect(mapStateToProps, mapDispatchToProps)(AnsibleRolesSwitcher),
AnsiblePermissionDenied,
props => props.data && props.data.canView
);