TypeError: type is undefined
I want to set my array from state to v-select, this is my storage: export default ({ state: { trainerList: [] }, getters: { TRAINER_LIST(state){ console.log(state.trainerList) return state.trainerList } }, mutations: { SET_TRAINER_LIST_TO_STATE(state, trainerList){ return state.trainerList = trainerList } }, actions: { async GET_BRANCH_FROM_API({commit}){ return axios.get(`${BASE_URL}/api/trainer-list/`, { headers:{ Authorization: ‘Token ‘ + sessionStorage.getItem(‘usertoken’) } })… Read More TypeError: type is undefined