diff --git a/src/components/calculos/CalculosList.tsx b/src/components/calculos/CalculosList.tsx index 080f47e..8dbf3ca 100644 --- a/src/components/calculos/CalculosList.tsx +++ b/src/components/calculos/CalculosList.tsx @@ -144,12 +144,20 @@ export function CalculosList() {

Cálculos Judiciais

- - Novo Cálculo - +
+ + Novo Cálculo + + + Novo Pensão + +
{/* Filtros */} diff --git a/src/components/calculos/DetalhePensaoAlimenticia.tsx b/src/components/calculos/DetalhePensaoAlimenticia.tsx index 24ebcce..f3bf659 100644 --- a/src/components/calculos/DetalhePensaoAlimenticia.tsx +++ b/src/components/calculos/DetalhePensaoAlimenticia.tsx @@ -34,6 +34,7 @@ export function DetalhePensaoAlimenticia() { useEffect(() => { const loadCalculo = async () => { try { + // Buscar cálculo pelo endpoint correto const response = await api.get(`/api/pensao-alimenticia/${id}`); setCalculo(response.data); } catch (error) {