Skip to content

Commit

Permalink
yarn prettier (mui#1897)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Jun 18, 2020
1 parent c834f5c commit 32324b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/pages/demo/datepicker/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Sometimes it's required to display additional info right in the calendar. Here i
and displaying server side data using `onMonthChange`, `loading` and `renderDay` props.

<!-- In order to make this example functional, make sure you are running docs using `yarn now dev` from root -->

<Example source={ServerRequest} />

#### API
Expand Down
2 changes: 1 addition & 1 deletion lib/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
transform: {
'^.+\\.(ts|tsx)?$': 'ts-jest',
},
modulePathIgnorePatterns: ["<rootDir>/src/__tests__/dist/"],
modulePathIgnorePatterns: ['<rootDir>/src/__tests__/dist/'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
coveragePathIgnorePatterns: ['<rootDir>/src/__tests__/'],
globals: {
Expand Down
1 change: 0 additions & 1 deletion lib/src/__tests__/DatePicker.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,3 @@ it('Should not add to loading queue when synchronous', () => {
'Enter Date'
);
});

7 changes: 6 additions & 1 deletion lib/src/_helpers/time-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ export interface TimeValidationProps {
export const validateTime = (
utils: MuiPickersAdapter,
value: MaterialUiPickersDate | ParsableDate,
{ minTime, maxTime, shouldDisableTime, disableIgnoringDatePartForTimeValidation }: TimeValidationProps
{
minTime,
maxTime,
shouldDisableTime,
disableIgnoringDatePartForTimeValidation,
}: TimeValidationProps
) => {
const date = utils.date(value);
const isAfterComparingFn = createIsAfterIgnoreDatePart(
Expand Down

0 comments on commit 32324b2

Please sign in to comment.