Skip to content

Commit

Permalink
Restore tx=status = None
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypalacios committed Dec 21, 2023
1 parent a67b6ae commit 139ee20
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/hooks/useTxDispatchNotfication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ export function useTxDispatchNotification({
}
if (idToast && tx.status === "None") {
// TODO, check this case
// toast.update(idToast, {
// render: `The ${msgPrefix} was cancelled`,
// type: "info",
// isLoading: false,
// autoClose: 500,
// });
toast.update(idToast, {
render: `The ${msgPrefix} was gone`,
type: "info",
isLoading: false,
autoClose: 500,
});
setIdToast(0);
}
if (idToast && tx.status === "Broadcast") {
Expand Down

0 comments on commit 139ee20

Please sign in to comment.