Closed RrybaN closed 5 months ago
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.
useRef
ID
useState
Using
useRef
causes notifications without anID
resets or re-renders the circle duration so i changed it back touseState
to avoid re-rendering. Additionally, I've made some improvements and organized the code.