forked from OpenNeo/impress-2020
When loading an outfit in the wardrobe page, there was an awkward state where the outfit preview loading spinner would vanish and then reappear. This was because `useOutfitState` briefly reported `loading: false`, then fixed itself after almost immediately—but our OutfitPreview component has a delay before re-showing the spinner. In this change, we smooth out the loading state, by enabling the second GQL request to start immediately once the first request is done, instead of waiting on a callback to finish. |
||
|---|---|---|
| .. | ||
| support | ||
| index.js | ||
| Item.js | ||
| ItemsAndSearchPanels.js | ||
| ItemsPanel.js | ||
| OutfitControls.js | ||
| PosePicker.js | ||
| SearchPanel.js | ||
| SearchToolbar.js | ||
| useOutfitState.js | ||
| WardrobeDevHacks.js | ||
| WardrobeOutfitPreview.js | ||
| WardrobePageLayout.js | ||