text: 
  const initialState = {
      current: "Logo",
      point: {
          assembly: "",
          state: false,
          name: ""
      },
      intervention: {
          state: false,
      },
      data: {}
  }
  
  const reducer = (state, action) => {
  
      switch (action.type) {
          case "[Dashboard] setLogo":
              return initialState
  
          case "[Dashboard] setComentario":
              return { ...initialState, current: "Comentario" }
          case "[Dashboard] setVote":
              return {
                  current: "Votacion",
                  point: {
                      assembly: action.payload.assembly,
                      state: true,
                      name: action.payload.name
                  },
                  intervention: {
                      state: true,
                  },
                  data: action.payload.data
              }
          case "[Dashboard] setEncuesta":
              return {
                  current: "Encuesta",
                  point: {
                      assembly: action.payload.assembly,
                      state: true,
                      name: action.payload.name
                  },
                  intervention: {
                      state: true,
                  },
                  data: action.payload.data
              }
          default:
              break;
      }
  }
  
  export {
      reducer,
      initialState
  }