small fix

master
Tudor Stanciu 2020-06-06 03:43:12 +03:00
parent 34fd21a4b6
commit ed71b11daf
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import * as types from "./actionTypes";
import initialState from "../../redux/reducers/initialState"; import initialState from "../../redux/reducers/initialState";
import { botType } from "./botType"; import { botType } from "./botType";
export default function chatbotReducer(state = initialState.snackbar, action) { export default function chatbotReducer(state = initialState.bot, action) {
switch (action.type) { switch (action.type) {
case types.SUMMON_WIZARD: case types.SUMMON_WIZARD:
return { ...state, type: botType.wizard }; return { ...state, type: botType.wizard };