Fixed "ReferenceError: t is not defined" error by: - Adding t parameter to calcularPaybackCompleto() function - Adding t parameter to formatearPaybackResult() function - Updating all call sites to pass t from useTranslation() hook Helper functions defined outside React components cannot directly access the t() function from useTranslation() hook. They must receive it as a parameter from the component. https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
125 KiB
125 KiB