changed check prop to defaultChecked
This commit was merged in pull request #29.
This commit is contained in:
@@ -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" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user