Skip to content

Commit

Permalink
fix: fix del fix de inahbilitaciones
Browse files Browse the repository at this point in the history
  • Loading branch information
yoelmarain committed Dec 9, 2024
1 parent b75f388 commit 50021a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FrontAdmin/src/components/Pages/TareasProgramadas/Tareas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ function Tareas() {
try {
const response = await actualizarinhabilitaciones();
onClose2();
toast('Exito', `${response[0].mensaje}`, 'success');
toast('Exito', `${response.mensaje}`, 'success');
console.log('hice el toast');
} catch (error) {
toast('Error', 'Proceso no ejecutado', 'error');
}
Expand Down

0 comments on commit 50021a0

Please sign in to comment.