calculo: fix pensaoalimenticia
Signed-off-by: Rodrigo B. de Sousa Martins <rodrigo.sousa.577@gmail.com>
This commit is contained in:
1 parent
866a3fe539
commit
ae71161860
2 files changed
+15
-6
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user