chore: redundant
This commit is contained in:
parent
2f57c75af4
commit
de7ad30bdb
|
@ -80,11 +80,7 @@ const slice = createSlice({
|
||||||
value,
|
value,
|
||||||
},
|
},
|
||||||
}) => {
|
}) => {
|
||||||
const {traits} = state.entities[target];
|
state.entities[target].traits[trait][half][key] = value;
|
||||||
traits[trait] = traits[trait] || {};
|
|
||||||
traits[trait][half] = traits[trait][half] || {};
|
|
||||||
traits[trait][half][key] = value;
|
|
||||||
state.entities[target].traits = traits;
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
extraReducers: {
|
extraReducers: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user