Claude
027c539768
fix: Prevent undefined rendering in reasoning translations
Fixed React error #306 (text content mismatch) caused by undefined values
in reasoning translations.
Root cause: Translation functions could return undefined when:
- Translation key doesn't exist
- reasoning_data has unexpected structure
- parameters are missing
Changes:
- Added defaultValue to all translation calls
- Added || fallback operators to ensure strings are always returned
- Added proper null/undefined checks with empty string fallbacks
- Enhanced getInsightDescription with multiple fallback levels
This ensures all translation functions return valid strings, preventing
React hydration mismatches and rendering errors on the dashboard.
2025-11-07 20:02:53 +00:00
..
2025-11-07 20:02:53 +00:00
2025-11-05 13:34:56 +01:00
2025-10-31 18:57:58 +01:00
2025-10-31 11:54:19 +01:00
2025-11-07 17:10:17 +00:00
2025-11-07 17:19:46 +00:00