Merge branch 'Document_Manag' of https://git.marcoaiot.com/admin/marco.pms.web into Document_Manag

This commit is contained in:
Kartik Sharma 2025-09-09 12:38:14 +05:30
commit 7a5fc509fb

View File

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