fix dev emotion crasher in wardrobe page
This seemed to only show up in dev? But right, I guess it's not happy about passing stuff from ClassNames into a Popover Portal. Move it inside, fixed!
This commit is contained in:
parent
f36d6831d0
commit
6749d19f9e
1 changed files with 12 additions and 12 deletions
|
@ -107,16 +107,16 @@ function PosePicker({
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ClassNames>
|
<Popover
|
||||||
{({ css, cx }) => (
|
placement="bottom-end"
|
||||||
<Popover
|
returnFocusOnClose
|
||||||
placement="bottom-end"
|
onOpen={onLockFocus}
|
||||||
returnFocusOnClose
|
onClose={onUnlockFocus}
|
||||||
onOpen={onLockFocus}
|
initialFocusRef={initialFocusRef}
|
||||||
onClose={onUnlockFocus}
|
>
|
||||||
initialFocusRef={initialFocusRef}
|
{({ isOpen }) => (
|
||||||
>
|
<ClassNames>
|
||||||
{({ isOpen }) => (
|
{({ css, cx }) => (
|
||||||
<>
|
<>
|
||||||
<PopoverTrigger>
|
<PopoverTrigger>
|
||||||
<Button
|
<Button
|
||||||
|
@ -199,9 +199,9 @@ function PosePicker({
|
||||||
</Portal>
|
</Portal>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Popover>
|
</ClassNames>
|
||||||
)}
|
)}
|
||||||
</ClassNames>
|
</Popover>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue