Compare commits

..

No commits in common. "849709ad05b1074299886a9a5d94b6e146797858" and "1b98c60120341822a5e6ee4b3dc7f1b3fecca0df" have entirely different histories.

View File

@ -138,9 +138,11 @@ const NotesDirectory = ({
<input
type="checkbox"
className="switch-input"
onChange={handleSwitch}
checked={!IsActive} // invert binding
style={{ transform: "scale(0.8)" }}
onChange={() => handleSwitch(!IsActive)}
checked={IsActive}
style={{
transform: "scale(0.8)", // smaller toggle
}}
/>
<span
className="switch-toggle-slider"