diff --git a/src/app/OutfitResetModal.js b/src/app/OutfitResetModal.js index 0e16fd5..6e8508d 100644 --- a/src/app/OutfitResetModal.js +++ b/src/app/OutfitResetModal.js @@ -55,6 +55,8 @@ function OutfitResetModal({ isOpen, onClose, dispatchToOutfit }) { name: petName, speciesId: species.id, colorId: color.id, + emotion: "HAPPY", // TODO: Ask PetService + genderPresentation: "FEMININE", // TODO: Ask PetService wornItemIds: items.map((i) => i.id), closetedItemIds: [], }); diff --git a/src/app/useOutfitState.js b/src/app/useOutfitState.js index b5d87ec..7388b25 100644 --- a/src/app/useOutfitState.js +++ b/src/app/useOutfitState.js @@ -202,8 +202,9 @@ const outfitStateReducer = (apolloClient) => (baseState, action) => { state.name = name; state.speciesId = speciesId ? String(speciesId) : baseState.speciesId; state.colorId = colorId ? String(colorId) : baseState.colorId; - state.emotion = emotion; - state.genderPresentation = genderPresentation; + state.emotion = emotion || baseState.emotion; + state.genderPresentation = + genderPresentation || baseState.genderPresentation; state.wornItemIds = wornItemIds ? new Set(wornItemIds.map(String)) : baseState.wornItemIds;