text: const INITIAL_STATE = {
    nome: '',
    email: '',
    senha: '',
  };
  export default (state = INITIAL_STATE, action) => {
    switch (action.type) {
      case 'modifica_email':
        return {...state, email: action.payload};
      case 'modifica_senha':
        return {...state, senha: action.payload};
      case 'modifica_nome':
        return {...state, nome: action.payload};
    }
    return state;
  };
  