updating hooks to reuse more code

This commit is contained in:
2024-09-27 12:07:42 -06:00
parent 5667c8ba9e
commit 3a69222ddc
10 changed files with 125 additions and 269 deletions

View File

@@ -20,7 +20,7 @@ export const CalendarMonth = ({ month }: { month: CalendarMonthModel }) => {
<>
<Expandable
defaultExpanded={!isInPast}
ExpandableElement={({ setIsExpanded, isExpanded }) => (
ExpandableElement={({ setIsExpanded }) => (
<div className="flex justify-center">
<h3
className={