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!
This commit is contained in:
parent
ca92af0cf3
commit
12bd9f6b17
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue