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