%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emergentqj/actioncivile/pre-auth/.4cc3a2e1590a4463a5f392ddcc26929e/static/js/containers/
Upload File :
Create Path :
Current File : /home/emergentqj/actioncivile/pre-auth/.4cc3a2e1590a4463a5f392ddcc26929e/static/js/containers/LanguageDropdownContainer.js

import { connect } from "react-redux";
import { languageManuallySet } from "actions/list_actions";
import LanguageDropdown from "components/LanguageDropdown/index.jsx";
import countryConfig from "config/countryData";

const { langData } = countryConfig;

const mapStateToProps = (state) => ({
  choosableLanguages: state.lang.toJS().data.translations,
  allLanguages: langData,
  countryCode: state.config.toJS().config.countryConstant,
});

const mapDispatchToProps = {
  languageManuallySet,
};

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

Zerion Mini Shell 1.0