Skip to content

Commit effe0f9

Browse files
authored
Fix the number of weeks in calendar (#354)
* Fix the number of weeks in calendar * Remove prop committed by mistake
1 parent d7dec6f commit effe0f9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/AddExpense/AddExpensePage.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ export const AddOrEditExpensePage: React.FC<{
237237
</Button>
238238
</PopoverTrigger>
239239
<PopoverContent className="w-auto p-0">
240-
<Calendar mode="single" selected={expenseDate} onSelect={setExpenseDate} />
240+
<Calendar
241+
fixedWeeks
242+
mode="single"
243+
selected={expenseDate}
244+
onSelect={setExpenseDate}
245+
/>
241246
</PopoverContent>
242247
</Popover>
243248
</div>

0 commit comments

Comments
 (0)