Skip to content

Commit

Permalink
UIEH-1407 fix formatting of some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanDenis committed Feb 13, 2024
1 parent 35b1e45 commit 177cf41
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
11 changes: 7 additions & 4 deletions src/components/resource/_fields/validate-date-range.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import {
FormattedMessage,
} from 'react-intl';
import { FormattedMessage } from 'react-intl';

import { FormattedDate, dayjs, DayRange, getLocaleDateFormat } from '@folio/stripes/components';
import {
FormattedDate,
dayjs,
DayRange,
getLocaleDateFormat,
} from '@folio/stripes/components';

/**
* Validator to ensure begin date is present and entered dates are valid
Expand Down
5 changes: 4 additions & 1 deletion src/components/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import {
FormattedMessage,
} from 'react-intl';

import { FormattedDate, dayjs } from '@folio/stripes/components';
import {
FormattedDate,
dayjs,
} from '@folio/stripes/components';

import {
searchTypes,
Expand Down
4 changes: 3 additions & 1 deletion src/routes/package-create-route/package-create-route.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { Component } from 'react';
import PropTypes from 'prop-types';
import ReactRouterPropTypes from 'react-router-prop-types';
import { TitleManager } from '@folio/stripes/core';
import { FormattedMessage } from 'react-intl';

import { TitleManager } from '@folio/stripes/core';
import { dayjs } from '@folio/stripes/components';

import View from '../../components/package/create';

import { accessTypesReduxStateShape } from '../../constants';
Expand Down
1 change: 1 addition & 0 deletions src/routes/package-edit-route/package-edit-route.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { FormattedMessage } from 'react-intl';

import { TitleManager } from '@folio/stripes/core';
import { dayjs } from '@folio/stripes/components';

import View from '../../components/package/package-edit';

import {
Expand Down
3 changes: 2 additions & 1 deletion src/routes/resource-edit-route/resource-edit-route.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import { Component } from 'react';
import PropTypes from 'prop-types';
import ReactRouterPropTypes from 'react-router-prop-types';
import isEqual from 'lodash/isEqual';
import { FormattedMessage } from 'react-intl';

import { TitleManager } from '@folio/stripes/core';
import { dayjs } from '@folio/stripes/components';
import { FormattedMessage } from 'react-intl';

import View from '../../components/resource/resource-edit';
import {
Expand Down

0 comments on commit 177cf41

Please sign in to comment.