fixing typescript errors

This commit is contained in:
2024-02-08 14:48:49 +01:00
parent 568509fc41
commit 0128d46a32
4 changed files with 4 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ export const MonthCard:FC<MonthCardProps> = ({ yearMonth, children, monthlyExpen
// if the element i selected > scroll it into view
elRef.current.scrollIntoView({ behavior: 'smooth', block: 'center' });
}
}, []);
}, [expanded]);
return(
<div className="collapse collapse-plus bg-base-200 my-1" ref={elRef}>