mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-15 07:36:27 -05:00
Calendar min month as current month closes #635
This commit is contained in:
@@ -112,7 +112,10 @@ const CalendarPage = ({ eventsInitialData }: Props) => {
|
||||
)}
|
||||
<Calendar
|
||||
current={{ month, year }}
|
||||
min={{ month: 7, year: 2021 }}
|
||||
min={{
|
||||
month: new Date().getMonth() + 1,
|
||||
year: new Date().getFullYear(),
|
||||
}}
|
||||
handleNextClick={() =>
|
||||
setMonthYear(
|
||||
month === 12
|
||||
|
||||
Reference in New Issue
Block a user