Skip to content

Commit b7e2850

Browse files
authored
Merge pull request #195 from web-ridge/new-to-old-js
Change to old JS
2 parents 92ae188 + 85e643f commit b7e2850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Date/Calendar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ function Calendar(
210210
selectedYear={selectedYear}
211211
selectingYear={selectingYear}
212212
onPressYear={onPressYear}
213-
startYear={startYear ?? 1800}
214-
endYear={endYear ?? 2200}
213+
startYear={startYear || 1800}
214+
endYear={endYear || 2200}
215215
/>
216216
) : null}
217217
</View>

0 commit comments

Comments
 (0)