changed control from radio to checkbox

This commit is contained in:
2024-02-01 15:35:44 +01:00
parent acaeae8d7b
commit 85aea1fa6d

View File

@@ -31,7 +31,7 @@ export const MonthCard:FC<MonthCardProps> = ({ yearMonth, children, monthlyExpen
return( return(
<div className="collapse collapse-plus bg-base-200 my-1" ref={elRef}> <div className="collapse collapse-plus bg-base-200 my-1" ref={elRef}>
<input type="radio" name="my-accordion-3" checked={expanded} onChange={handleChange} /> <input type="checkbox" name="my-accordion-3" checked={expanded} onChange={handleChange} />
<div className="collapse-title text-xl font-medium"> <div className="collapse-title text-xl font-medium">
{`${formatYearMonth(yearMonth)}`} {`${formatYearMonth(yearMonth)}`}
{ {