Don't add ?state until opening Support pose picker

Oops, I made a recent change to automatically add `appearanceId` to the outfit state when you open the Support pose picker, to avoid navigation issues.

But I didn't realize this happened _silently_ when you open the page as a Support user, because the Popover preloads!

Now, the Popover doesn't preload its content. This is probably better for normal users too, the PosePicker UI is a bit heavier with 6 previews than I really want!
This commit is contained in:
Emi Matchu 2021-04-28 15:00:34 -07:00
parent f3173db7b3
commit cb2a5bc912

View file

@ -162,6 +162,7 @@ function PosePicker({
onOpen={onLockFocus} onOpen={onLockFocus}
onClose={onUnlockFocus} onClose={onUnlockFocus}
initialFocusRef={initialFocusRef} initialFocusRef={initialFocusRef}
isLazy
> >
{({ isOpen }) => ( {({ isOpen }) => (
<ClassNames> <ClassNames>