diff --git a/src/features/chatbot/reducer.js b/src/features/chatbot/reducer.js index 2197b56..b8220c9 100644 --- a/src/features/chatbot/reducer.js +++ b/src/features/chatbot/reducer.js @@ -2,7 +2,7 @@ import * as types from "./actionTypes"; import initialState from "../../redux/reducers/initialState"; import { botType } from "./botType"; -export default function chatbotReducer(state = initialState.snackbar, action) { +export default function chatbotReducer(state = initialState.bot, action) { switch (action.type) { case types.SUMMON_WIZARD: return { ...state, type: botType.wizard };