Files
new-api/web/src
Apple\Apple f9c8a802ef 🐛fix: Fix React hooks order violation causing page crash on API errors
- Move useEffect hooks before conditional returns in MessageContent and ThinkingContent
- Ensure hooks are called in the same order every render
- Fix "Rendered fewer hooks than expected" error when API returns non-200 status
- Follow React hooks rules: only call hooks at the top level

This prevents the entire page from crashing when API requests fail.
2025-06-02 21:26:56 +08:00
..
2025-05-23 00:24:08 +08:00
2025-06-01 13:13:32 +08:00
2025-05-20 00:23:47 +08:00
2025-06-02 19:58:10 +08:00