changed check prop to defaultChecked

This commit was merged in pull request #29.
This commit is contained in:
2024-03-23 06:27:16 +01:00
parent e2b3978ab6
commit 2a2b8ee85d
+2 -1
View File
@@ -43,7 +43,8 @@ const DebitAccount: React.FC = () => {
<div className="max-w-[578px] flex items-center"> <div className="max-w-[578px] flex items-center">
<input <input
type="checkbox" type="checkbox"
checked={true} // checked={true}
defaultChecked
// onChange={onChange} // onChange={onChange}
className="form-checkbox h-[25px] w-[25px] rounded-sm text-[#5c2684] " className="form-checkbox h-[25px] w-[25px] rounded-sm text-[#5c2684] "
style={{ backgroundColor: "#5C2684" }} style={{ backgroundColor: "#5C2684" }}