Conditional Classes
Unanswered
Northeast Congo Lion posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
Northeast Congo LionOP
<header className={`${styles.main_header} ${isScrolled ? 'active' : ''}`}>
this is not working how can i fix conditional classes work
<header className={`${styles.main_header} ${isScrolled ? 'active' : ''}`}>