Sha256: 184b4e61b9ae432af2bcb8d7110632d704a0b024f67c967aa3428140d80d388b

Contents?: true

Size: 659 Bytes

Versions: 2

Compression:

Stored size: 659 Bytes

Contents

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

import './SyncGitRepo.scss';
import SyncGitRepo from './SyncGitRepo';
import * as SyncGitRepoActions from './SyncGitRepoActions';

import {
  selectScmType,
  selectPath,
  selectGitCommit,
  selectGitUrl,
} from './SyncGitRepoSelectors';

const mapStateToProps = state => ({
  scmType: selectScmType(state),
  gitCommit: selectGitCommit(state),
  path: selectPath(state),
  gitUrl: selectGitUrl(state),
});

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_acd-0.11.0 webpack/components/SyncGitRepo/index.js
foreman_acd-0.10.0 webpack/components/SyncGitRepo/index.js