function mapStateToProps({projectType}) { //same as state.projectType, it can also be only 'state, and return state.projectType
  return {
    projectType: projectType
  };
}
// Need to connect the state to this component for the functionality of the event of keys control and s
Need to connect the state to this component for the functionality of the event of keys control and s
Need to connect the state to this component for the functionality of the event of keys control and s
function mapStateToProps({projectType}) { 
  return {
    projectType: projectType
  };
}
function mapStateToProps ( { projectType } ) { return { projectType : projectType } ; }
Need to connect the state to this component for the functionality of the event of keys control and s
Need to connect the state to this component for the functionality of the event of keys control and s
//same as state.projectType, it can also be only 'state, and return state.projectType