DEV Community

Discussion on: Add dark mode in react admin panel

Collapse
 
kellskamuzu profile image
Kelvin Chidothi • Edited

Just curious, why are you using an else if statement when you only have two conditions?

Collapse
 
gurupal profile image
Gurupal Singh

yes removed it. but nothing is working as of now