Apple\Apple 27ad46cdd5 🐛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-04-04 17:37:27 +08:00
2025-06-02 00:15:53 +08:00
2025-05-26 22:25:38 +08:00
2025-05-20 23:47:29 +08:00
2025-04-04 17:37:27 +08:00
2024-03-23 21:24:39 +08:00
2025-05-05 23:56:15 +08:00
2025-06-02 00:15:53 +08:00
2025-04-04 17:37:27 +08:00