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

refactor(web/notify): changed useRef to useState to prevent resetting the circle on notifications without an ID and organized the code. #566

Merged
merged 1 commit into from
May 2, 2024

Conversation

RrybaN
Copy link
Contributor

@RrybaN RrybaN commented May 1, 2024

Using useRef causes notifications without an ID resets or re-renders the circle duration so i changed it back to useState to avoid re-rendering. Additionally, I've made some improvements and organized the code.

… the circle on notifications without an ID and organized the code.

Using useRef causes notifications without an ID to reset the circle duration. Additionally, I've made some improvements and organized the code.
@thelindat thelindat merged commit 88edfbe into overextended:master May 2, 2024
@RrybaN RrybaN deleted the refactor-web-notify branch May 2, 2024 06:48
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.

2 participants