Skip to content

Commit

Permalink
fix: Removed the loading toast in the contact page after the toast wa…
Browse files Browse the repository at this point in the history
…s successfully sent
  • Loading branch information
FleetAdmiralJakob committed Mar 12, 2024
1 parent 132e184 commit 30a3e45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/src/pages/contact/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ const ContactUs = () => {
},

onSuccess: () => {
toast.success(translationContact("sent toast"), { id: toastIdTmp });
toast.success(translationContact("sent toast"));
toast.dismiss(toastIdTmp);
reset();
},
});
Expand Down

0 comments on commit 30a3e45

Please sign in to comment.