Compare commits
3 Commits
1b98c60120
...
849709ad05
Author | SHA1 | Date | |
---|---|---|---|
849709ad05 | |||
ef0eff98f8 | |||
7e81649841 |
@ -138,11 +138,9 @@ const NotesDirectory = ({
|
|||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
className="switch-input"
|
className="switch-input"
|
||||||
onChange={() => handleSwitch(!IsActive)}
|
onChange={handleSwitch}
|
||||||
checked={IsActive}
|
checked={!IsActive} // invert binding
|
||||||
style={{
|
style={{ transform: "scale(0.8)" }}
|
||||||
transform: "scale(0.8)", // smaller toggle
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
className="switch-toggle-slider"
|
className="switch-toggle-slider"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user