fix checkbox initial value

This commit is contained in:
NilsUeter
2025-04-06 20:06:33 +02:00
parent bd111e401c
commit 3b858c6aa0
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -117,7 +117,11 @@ export const ShortSummaryTable = ({ force, primaryColor, name, points }) => {
userSelect: "none",
}}
>
<input type="checkbox" onChange={() => setHide(!hide)} />
<input
type="checkbox"
checked={hide}
onChange={() => setHide(!hide)}
/>
<span className="print-display-none">Don't print this card.</span>
</label>
</div>