web-installer/src/containers/chains/common/chainContainer.js
// Functions to be used in the Cosmos Chain Form
Functions to be used in the Cosmos Chain Form
Functions to be used in the Cosmos Chain Form
function mapCosmosDispatchToProps(dispatch) {
  return {
    saveChainDetails: (details) => dispatch(addChainCosmos(details)),
    updateChainDetails: (details) => dispatch(updateChainCosmos(details)),
    clearChainId: () => dispatch(resetCurrentChainIdCosmos()),
    stepChanger: (step) => dispatch(changeStep(step)),
    pageChanger: (page) => dispatch(changePage(page)),
  };
}
function mapCosmosDispatchToProps ( dispatch ) { return { saveChainDetails : ( details ) => dispatch ( addChainCosmos ( details ) ) , updateChainDetails : ( details ) => dispatch ( updateChainCosmos ( details ) ) , clearChainId : ( ) => dispatch ( resetCurrentChainIdCosmos ( ) ) , stepChanger : ( step ) => dispatch ( changeStep ( step ) ) , pageChanger : ( page ) => dispatch ( changePage ( page ) ) , } ; }
Functions to be used in the Cosmos Chain Form
Functions to be used in the Cosmos Chain Form