Skip to content

Commit

Permalink
Fix Rewards Toast Notif not closing (#1996)
Browse files Browse the repository at this point in the history
* fix rewards toast notification not closing

* remove console
  • Loading branch information
corlard3y committed Jan 7, 2025
1 parent e06d7fd commit ef7c3ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/blocks/notification/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ const notification = {
},
hide: () => {
if (toastIds.length > 0) {
const toastId = toastIds.pop();
toast.dismiss(toastId);
toast.dismiss();
}
},
};
Expand Down

0 comments on commit ef7c3ea

Please sign in to comment.