mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
* fix: handle hardware acceleration disabled scenario in demo site This commit improves the demo site's error handling when hardware acceleration is disabled in the browser. The changes include: - Improved fallback UI with a more informative message The fallback scene now shows: - A static image of the Zustand ogimage This fixes the issue where the demo site would break without any feedback when hardware acceleration is disabled. Testing: - fallback works when hardware acceleration is disabled * fixed code format --------- Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>