calculo: fix pensaoalimenticia
Signed-off-by: Rodrigo B. de Sousa Martins <rodrigo.sousa.577@gmail.com>
This commit is contained in:
1 parent
ae71161860
commit
3f012552e7
2 files changed
+7
-2
No files matched your search
@@ -32,6 +32,11 @@ export function DetalhePensaoAlimenticia() {
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
if (id === "novo") {
|
||||
setLoading(false);
|
||||
setCalculo(null);
|
||||
return;
|
||||
}
|
||||
const loadCalculo = async () => {
|
||||
try {
|
||||
// Buscar cálculo pelo endpoint correto
|
||||
|
||||
Reference in new issue
Block a user