mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-10 01:16:39 +02:00
* fix: remove unused context code * fix: refactor users * fix: rename delete user * fix: rename frontend * fix: update feature view path * fix: cleanup create feature * fix: cleanup feature views * fix: cleanup feature strategies * fix: update paths * fix: remove unused strategy components * fix strategies link * fix: update snapshots * fix: import paths * fix: add name to useEffect dependency
19 lines
440 B
JavaScript
19 lines
440 B
JavaScript
import { connect } from 'react-redux';
|
|
import CopyFeatureComponent from './CopyFeature';
|
|
import { validateName } from '../../../store/feature-toggle/actions';
|
|
|
|
const mapStateToProps = (state, props) => ({
|
|
history: props.history,
|
|
});
|
|
|
|
const mapDispatchToProps = dispatch => ({
|
|
validateName,
|
|
});
|
|
|
|
const FormAddContainer = connect(
|
|
mapStateToProps,
|
|
mapDispatchToProps
|
|
)(CopyFeatureComponent);
|
|
|
|
export default FormAddContainer;
|