changed ranges to presets

This commit is contained in:
swtmply
2023-04-20 00:10:20 +08:00
parent cccb411cde
commit 2fc731f564
2 changed files with 2 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
> >
<DatePicker.RangePicker <DatePicker.RangePicker
format="MM/DD/YYYY" format="MM/DD/YYYY"
ranges={DatePIckerRanges} presets={DatePIckerRanges}
/> />
</Form.Item> </Form.Item>
<Form.Item <Form.Item

View File

@@ -88,7 +88,7 @@ export function TechJobPrintTickets({ technician, event }) {
]} ]}
> >
<DatePicker.RangePicker <DatePicker.RangePicker
ranges={DatePIckerRanges} presets={DatePIckerRanges}
format={"MM/DD/YYYY"} format={"MM/DD/YYYY"}
/> />
</Form.Item> </Form.Item>