upgrade to immer 6.0.8, remove bug workaround
This commit is contained in:
parent
674107516c
commit
62fc161013
2 changed files with 3 additions and 6 deletions
|
@ -109,9 +109,6 @@ const outfitStateReducer = (apolloClient) => (baseState, action) => {
|
|||
};
|
||||
case "wearItem":
|
||||
return produce(baseState, (state) => {
|
||||
// A hack to work around https://github.com/immerjs/immer/issues/586
|
||||
state.wornItemIds.add("fake-id-immer#586").delete("fake-id-immer#586");
|
||||
|
||||
const { wornItemIds, closetedItemIds } = state;
|
||||
const { itemId } = action;
|
||||
|
||||
|
|
|
@ -6187,9 +6187,9 @@ immer@1.10.0:
|
|||
integrity sha512-O3sR1/opvCDGLEVcvrGTMtLac8GJ5IwZC4puPrLuRj3l7ICKvkmA0vGuU9OW8mV9WIBRnaxp5GJh9IEAaNOoYg==
|
||||
|
||||
immer@^6.0.3:
|
||||
version "6.0.3"
|
||||
resolved "https://registry.yarnpkg.com/immer/-/immer-6.0.3.tgz#94d5051cd724668160a900d66d85ec02816f29bd"
|
||||
integrity sha512-12VvNrfSrXZdm/BJgi/KDW2soq5freVSf3I1+4CLunUM8mAGx2/0Njy0xBVzi5zewQZiwM7z1/1T+8VaI7NkmQ==
|
||||
version "6.0.8"
|
||||
resolved "https://registry.yarnpkg.com/immer/-/immer-6.0.8.tgz#3758890d66ed7baed5703b9e0763785a16156478"
|
||||
integrity sha512-wmVdrkqL6OzhX5z2k/c0t8g+YzGy+V8B/r1GRdCTO0UcTiFkB0XVAxpJQT045KaNV2u14HzbLCYKJmt7yVCakg==
|
||||
|
||||
import-cwd@^2.0.0:
|
||||
version "2.1.0"
|
||||
|
|
Loading…
Reference in a new issue