mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-27 03:27:04 +00:00
e77b946d57
setInitialLoading(true) and setUsername(name) are batched together so React never produces a frame where username is set but initialLoading is still false, which would fall through to the No items yet branch before refreshGallery has a chance to set initialLoading(true) itself.