From ed71b11daf57fdd9e6fb732d9d6b9737bf98d76f Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 6 Jun 2020 03:43:12 +0300 Subject: [PATCH] small fix --- src/features/chatbot/reducer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };