v1.36.1 - Fix: Corrigido erro 'n is not a function' na seção Passivos (formatDate import)
This commit is contained in:
parent
7fbd572371
commit
0d8287a1c4
@ -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/).
|
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
|
## [1.36.0] - 2025-12-15
|
||||||
|
|
||||||
### Improved
|
### Improved
|
||||||
|
|||||||
@ -33,7 +33,7 @@ ChartJS.register(
|
|||||||
|
|
||||||
const Reports = () => {
|
const Reports = () => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { currency, formatDate } = useFormatters();
|
const { currency, date: formatDate } = useFormatters();
|
||||||
|
|
||||||
const [activeTab, setActiveTab] = useState('summary');
|
const [activeTab, setActiveTab] = useState('summary');
|
||||||
const [loading, setLoading] = useState(true);
|
const [loading, setLoading] = useState(true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user