Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import HomeComponent from './homeComponent';
import ldRedux, {ldConnect} from 'ld-redux';
import {homeFlags} from './homeLogic';
const mapStateToProps = (state) => {
const homeState = state.Home;
const flags = ldRedux.getFlags(state, homeFlags);
return {
...homeState,
...flags,
};
};
@connect(mapStateToProps, homeActions)
@ldConnect(homeFlags)
export default class HomeContainer extends Component {
render() {
return ;
}
}