diff --git a/apps/app/pages/index.tsx b/apps/app/pages/index.tsx
index 963b57ad..00e7a81e 100644
--- a/apps/app/pages/index.tsx
+++ b/apps/app/pages/index.tsx
@@ -62,6 +62,7 @@ function Dashboard() {
info: response.fail,
},
]);
+ openModal();
notifyInfo("Enviado com successo!");
})
.catch((error) => {
@@ -82,6 +83,7 @@ function Dashboard() {
info: response.fail,
},
]);
+ openModal();
notifyInfo("Enviado com successo!");
})
.catch((error) => {
@@ -115,10 +117,7 @@ function Dashboard() {
title="Tens a certeza que queres notificar?"
cancelText="Não"
okText="Sim"
- onConfirm={(_) => {
- notify_signup_ninjas();
- openModal();
- }}
+ onConfirm={(_) => notify_signup_ninjas()}
>
@@ -132,10 +131,7 @@ function Dashboard() {
title="Tens a certeza que queres notificar?"
cancelText="Não"
okText="Sim"
- onConfirm={(_) => {
- notify_selected_ninjas();
- openModal();
- }}
+ onConfirm={(_) => notify_selected_ninjas()}
>