1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-10 01:16:39 +02:00
unleash.unleash/frontend/src/component/feature/CopyFeature/index.jsx
Fredrik Strand Oseberg 18287cdbd0 Fix/cleanup unused code (#651)
* 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
2022-02-04 10:36:08 +01:00

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;