From 12bd9f6b17d4e2eb69fc8a77a37efa264a1c5558 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 12 Aug 2020 00:35:11 -0700 Subject: [PATCH] fix PosePicker style bug oops another thing I missed in the refactor! I wasn't providing the selected pose to the hook, so it wasn't styling any of the poses as selected. Now it does again! --- src/app/WardrobePage/PosePicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/WardrobePage/PosePicker.js b/src/app/WardrobePage/PosePicker.js index e1b2e91..771a753 100644 --- a/src/app/WardrobePage/PosePicker.js +++ b/src/app/WardrobePage/PosePicker.js @@ -51,7 +51,7 @@ function PosePicker({ }) { const theme = useTheme(); const checkedInputRef = React.useRef(); - const { loading, error, poseInfos } = usePoses(speciesId, colorId); + const { loading, error, poseInfos } = usePoses(speciesId, colorId, pose); if (loading) { return null;