From 5ad80cadca6233560d9bc4571122f86bc9f5779b Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 20 Oct 2021 21:37:54 -0400 Subject: [PATCH] Fixed --- src/views/mod-tools/reducers/ModToolsReducer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/mod-tools/reducers/ModToolsReducer.tsx b/src/views/mod-tools/reducers/ModToolsReducer.tsx index c2c9df87..e1515e76 100644 --- a/src/views/mod-tools/reducers/ModToolsReducer.tsx +++ b/src/views/mod-tools/reducers/ModToolsReducer.tsx @@ -49,9 +49,9 @@ export const ModToolsReducer: Reducer = (state, switch(action.type) { case ModToolsActions.SET_INIT_DATA: { - const data = (action.payload.settings || state.settings || null); + const settings = (action.payload.settings || state.settings || null); - return { ...state, data }; + return { ...state, settings }; } case ModToolsActions.SET_CURRENT_ROOM_ID: { const currentRoomId = (action.payload.currentRoomId || state.currentRoomId || null);