fix: invert toggle logic and add styling
This commit is contained in:
@@ -113,6 +113,7 @@ export default function SideBar({
|
||||
setTheme(theme === 'light' ? 'dark' : 'light')
|
||||
}
|
||||
type="checkbox"
|
||||
checked={theme === 'dark'}
|
||||
/>
|
||||
<span
|
||||
className={`${styles.slider} ${styles.round}`}
|
||||
|
||||
Reference in New Issue
Block a user