mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-25 22:37:18 +10:00
Fix proptype in BookingTimeInfo
This commit is contained in:
parent
dbf963445c
commit
770a487c4d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import moment from 'moment';
|
||||
import { bool, oneOf } from 'prop-types';
|
||||
import { bool } from 'prop-types';
|
||||
import classNames from 'classnames';
|
||||
import { txIsEnquired } from '../../util/transaction';
|
||||
import { dateFromAPIToLocalNoon, daysBetween, formatDateToText } from '../../util/dates';
|
||||
|
|
@ -90,7 +90,7 @@ BookingTimeInfoComponent.propTypes = {
|
|||
isOrder: bool.isRequired,
|
||||
tx: propTypes.transaction.isRequired,
|
||||
unitType: propTypes.bookingUnitType.isRequired,
|
||||
dateType: oneOf(DATE_TYPE_DATE, DATE_TYPE_DATETIME),
|
||||
dateType: propTypes.dateType,
|
||||
};
|
||||
|
||||
const BookingTimeInfo = injectIntl(BookingTimeInfoComponent);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue