[React] [Fix] Changing theme should not re-render SVG waves
anup-a opened this issue · 2 comments
anup-a 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-a commented
Sure go ahead.
Feel free to ask any questions.