[React] [Fix] Changing theme should not re-render SVG waves
anup-a opened this issue · comments
Anup Aglawe commented
- Changing theme to dark-light mode rerenders the wave
- This is bound to happen since wave re-renders whenever the state changes.
- Possible fix could be to use useEffect hook.
Ansh Saini commented
Can I work on this?
Anup Aglawe commented
Sure go ahead.
Feel free to ask any questions.