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

Immediate effect max notifications #41

Merged

Conversation

Tamas-hi
Copy link
Contributor

@Tamas-hi Tamas-hi commented Jun 9, 2023

With regards of #40 , I played around a bit with the source code and found a possible solution for the problem.
Basically I made sure that state.notifications can't hold more notification than the value of props.maxNotifications.

Let me know if this is good enough for merge, or if there is anything else left to be added here.

@emmanuelsw
Copy link
Owner

Hey! thank you for the PR, I tested it and it works great. Can you fix the conflicts before merging it?

@Tamas-hi
Copy link
Contributor Author

Tamas-hi commented Jul 4, 2023

Hi! Thanks! It should be good to go now.

@emmanuelsw emmanuelsw merged commit 41cf8d9 into emmanuelsw:main Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants