react-app/src/actions/action-select-country.js
Function selectCountry
has 120 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const selectCountry = (country, sliderVal, country_data_path) => {
console.log('You selected', country);
if (mode !== 'schools') {
return function(dispatch) {
dispatch({type: 'REQUEST_DATA'})
- Create a ticketCreate a ticket