when db is empty, make the placeholder month card expanded
This commit is contained in:
@@ -44,7 +44,7 @@ export const MonthLocationList:React.FC<MonthLocationListProps > = ({
|
|||||||
|
|
||||||
return(
|
return(
|
||||||
<>
|
<>
|
||||||
<MonthCard yearMonth={currentYearMonth} key={`month-${currentYearMonth}`} monthlyExpense={0} onToggle={() => {}}>
|
<MonthCard yearMonth={currentYearMonth} key={`month-${currentYearMonth}`} monthlyExpense={0} onToggle={() => {}} expanded={true} >
|
||||||
<AddLocationButton yearMonth={currentYearMonth} />
|
<AddLocationButton yearMonth={currentYearMonth} />
|
||||||
</MonthCard>
|
</MonthCard>
|
||||||
</>)
|
</>)
|
||||||
|
|||||||
Reference in New Issue
Block a user