chore: redundant

This commit is contained in:
cha0s 2020-06-30 07:00:01 -05:00
parent 2f57c75af4
commit de7ad30bdb

View File

@ -80,11 +80,7 @@ const slice = createSlice({
value,
},
}) => {
const {traits} = state.entities[target];
traits[trait] = traits[trait] || {};
traits[trait][half] = traits[trait][half] || {};
traits[trait][half][key] = value;
state.entities[target].traits = traits;
state.entities[target].traits[trait][half][key] = value;
},
},
extraReducers: {