Skip to content

Commit 5c5f165

Browse files
committed
Fix lint issue.
1 parent 42b38af commit 5c5f165

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/Time/AmPmSwitcher.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function AmPmSwitcher({
1212
inputType,
1313
}: {
1414
hours: number
15-
onChange: (newHours: number) => any,
15+
onChange: (newHours: number) => any
1616
inputType: PossibleInputTypes
1717
}) {
1818
const { setMode, mode } = React.useContext(DisplayModeContext)

src/__tests__/Date/DatePickerInput.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ it('renders DatePickerInput', () => {
88
.create(
99
<DatePickerInput
1010
locale={'en'}
11-
value={undefined}
11+
value={new Date('12/26/2022')}
1212
onChange={() => null}
1313
inputMode="start"
1414
autoComplete={'birthdate-full'}

src/__tests__/Date/DatePickerInputWithoutModa.test.tsx renamed to src/__tests__/Date/DatePickerInputWithoutModal.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ it('renders DatePickerInput', () => {
88
.create(
99
<DatePickerInputWithoutModal
1010
locale={'en'}
11-
value={undefined}
11+
value={new Date('12/26/2022')}
1212
onChange={() => null}
1313
inputMode="start"
1414
autoComplete={'birthdate-full'}

src/__tests__/Date/__snapshots__/DatePickerInput.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ exports[`renders DatePickerInput 1`] = `
210210
}
211211
testID="text-input-flat"
212212
underlineColorAndroid="transparent"
213-
value="12/25/2022"
213+
value="12/26/2022"
214214
/>
215215
</View>
216216
</View>

src/__tests__/Date/__snapshots__/DatePickerInputWithoutModa.test.tsx.snap renamed to src/__tests__/Date/__snapshots__/DatePickerInputWithoutModal.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ exports[`renders DatePickerInput 1`] = `
209209
}
210210
testID="text-input-flat"
211211
underlineColorAndroid="transparent"
212-
value="12/25/2022"
212+
value="12/26/2022"
213213
/>
214214
</View>
215215
</View>

0 commit comments

Comments
 (0)