Fixed "TypeError: a is not iterable" error by: - Adding useTranslation() hook at component top - Initializing redFlagConfigs with getRedFlagConfigs(t) - Updating all detectRedFlags() calls to pass redFlagConfigs parameter - Replacing RED_FLAG_CONFIGS references with redFlagConfigs variable The translation agent had converted RED_FLAG_CONFIGS from a constant to a function but didn't update all call sites, causing runtime failures. https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
159 KiB
159 KiB