Skip to content

Commit db5820a

Browse files
feat: add more translations and upgrade some deps
1 parent 60c06e2 commit db5820a

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

src/Date/YearPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function YearPure({
6767
}: {
6868
year: number
6969
selected: boolean
70-
onPressYear: (year: number) => any
70+
onPressYear: (newYear: number) => any
7171
}) {
7272
const theme = useTheme()
7373
return (

src/Time/AmPmSwitcher.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function AmPmSwitcher({
1111
hours,
1212
}: {
1313
hours: number
14-
onChange: (hours: number) => any
14+
onChange: (newHours: number) => any
1515
}) {
1616
const { setMode, mode } = React.useContext(DisplayModeContext)
1717
const theme = useTheme()

src/Time/AnalogClock.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ function AnalogClock({
3535
minutes: number
3636
focused: PossibleClockTypes
3737
is24Hour: boolean
38-
onChange: ({
39-
hours,
40-
minutes,
41-
focused,
42-
}: {
38+
onChange: (hoursMinutesAndFocused: {
4339
hours: number
4440
minutes: number
4541
focused?: undefined | PossibleClockTypes

0 commit comments

Comments
 (0)