small fix
parent
34fd21a4b6
commit
ed71b11daf
|
@ -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 };
|
||||||
|
|
Loading…
Reference in New Issue