diff --git a/CHANGELOG.md b/CHANGELOG.md index 5722bfd..b2d54e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ O formato segue [Keep a Changelog](https://keepachangelog.com/pt-BR/). Este projeto adota [Versionamento Semântico](https://semver.org/pt-BR/). +## [1.36.1] - 2025-12-15 + +### Fixed +- **Bug Critical - Relatórios Passivos** - Corrigido erro "n is not a function" + - Problema: `formatDate` estava sendo importado incorretamente do hook useFormatters + - Solução: Hook exporta `date`, ajustado para `date: formatDate` na desestruturação + - Erro ocorria ao clicar na aba de Passivos devido à formatação da próxima parcela + - Seção de Passivos agora funciona corretamente + ## [1.36.0] - 2025-12-15 ### Improved diff --git a/VERSION b/VERSION index 39fc130..f107550 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.0 +1.36.1 diff --git a/frontend/src/pages/Reports.jsx b/frontend/src/pages/Reports.jsx index 11ca9a6..82df9b7 100644 --- a/frontend/src/pages/Reports.jsx +++ b/frontend/src/pages/Reports.jsx @@ -33,7 +33,7 @@ ChartJS.register( const Reports = () => { const { t } = useTranslation(); - const { currency, formatDate } = useFormatters(); + const { currency, date: formatDate } = useFormatters(); const [activeTab, setActiveTab] = useState('summary'); const [loading, setLoading] = useState(true);