Sha256: a3c9e8fc30f9bc8965e59a3f1bdc16cd758eb4b146c799639165393c2c330de8

Contents?: true

Size: 740 Bytes

Versions: 4

Compression:

Stored size: 740 Bytes

Contents

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';

import './ApplicationInstanceReport.scss';
import ApplicationInstanceReport from './ApplicationInstanceReport';
import * as ApplicationInstanceReportActions from './ApplicationInstanceReportActions';

import {
  selectHosts,
  selectReport,
  selectActiveHostId,
} from './ApplicationInstanceReportSelectors';

const mapStateToProps = state => ({
  hosts: selectHosts(state),
  report: selectReport(state),
  activeHostId: selectActiveHostId(state),
});

const mapDispatchToProps = dispatch =>
  bindActionCreators(ApplicationInstanceReportActions, dispatch);

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(ApplicationInstanceReport);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_acd-0.5.0 webpack/components/ApplicationInstanceReport/index.js
foreman_acd-0.4.0 webpack/components/ApplicationInstanceReport/index.js
foreman_acd-0.3.0 webpack/components/ApplicationInstanceReport/index.js
foreman_acd-0.2.1 webpack/components/ApplicationInstanceReport/index.js