Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(notifications): prevent duplicates #394

Merged
merged 7 commits into from
May 11, 2023

Conversation

snqb
Copy link
Contributor

@snqb snqb commented May 11, 2023

Basically, you can do something like

 notify.success({
        title: `Hiya!`,
        content: 'hey',
        uniqueId: 'PREVENT_OTHERS_WITH_THIS_ID',
      });

and the same notification won't show.

@snqb snqb requested a review from ehsan-github May 11, 2023 10:51
@snqb snqb self-assigned this May 11, 2023
@snqb
Copy link
Contributor Author

snqb commented May 11, 2023

@ehsan-github 👏

@snqb snqb merged commit ccf3e8f into dev May 11, 2023
ehsan-github pushed a commit that referenced this pull request May 11, 2023
# [2.5.0](v2.4.1...v2.5.0) (2023-05-11)

### Features

* **notifications:** prevent duplicates ([#394](#394)) ([ccf3e8f](ccf3e8f))
@ehsan-github
Copy link
Collaborator

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants