Skip to content

Commit

Permalink
fix: fix remove notif array
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsha-deriv committed Oct 11, 2024
1 parent f9e59a4 commit f53fd2d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/core/src/Stores/notification-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,13 @@ export default class NotificationStore extends BaseStore {
onClick: () => {
window.open('https://www.trustpilot.com/evaluate/deriv.com', '_blank');
this.markNotificationMessage({ key: this.client_notifications.trustpilot.key });
this.removeNotificationByKey({
key: this.client_notifications.trustpilot.key,
});
this.removeNotificationMessage({
key: this.client_notifications.trustpilot.key,
should_show_again: false,
});
},
text: localize('Go to Trustpilot'),
},
Expand Down

0 comments on commit f53fd2d

Please sign in to comment.