Skip to content

Commit

Permalink
reorder imports
Browse files Browse the repository at this point in the history
  • Loading branch information
usavkov-epam committed Nov 17, 2023
1 parent 84421e3 commit 4233d47
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
22 changes: 11 additions & 11 deletions src/Organizations/OrganizationDetails/OrganizationDetails.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useCallback, useEffect, useRef } from 'react';
import get from 'lodash/get';
import PropTypes from 'prop-types';
import { useCallback, useEffect, useRef } from 'react';
import { FormattedMessage } from 'react-intl';
import { get } from 'lodash';
import {
useLocation,
useHistory,
Expand Down Expand Up @@ -43,24 +43,24 @@ import {
NOTES_ROUTE,
ORGANIZATIONS_ROUTE,
} from '../../common/constants';
import {
ORG_DOMAIN,
ORG_NOTE_TYPE,
} from '../Notes/const';
import {
ORGANIZATION_SECTIONS,
ORGANIZATION_SECTION_LABELS,
} from '../constants';
import {
ORG_DOMAIN,
ORG_NOTE_TYPE,
} from '../Notes/const';
import { IntegrationDetails } from './IntegrationDetails';
import { LinkedAgreements } from './LinkedAgreements';
import { OrganizationSummary } from './OrganizationSummary';
import { OrganizationAccounts } from './OrganizationAccounts';
import { OrganizationAgreements } from './OrganizationAgreements';
import { OrganizationBankingInfo } from './OrganizationBankingInfo';
import { OrganizationContactInfo } from './OrganizationContactInfo';
import { OrganizationContactPeopleContainer } from './OrganizationContactPeople';
import { OrganizationInterfacesContainer } from './OrganizationInterfaces';
import { OrganizationSummary } from './OrganizationSummary';
import { OrganizationVendorInfo } from './OrganizationVendorInfo';
import { OrganizationAgreements } from './OrganizationAgreements';
import { OrganizationAccounts } from './OrganizationAccounts';
import { OrganizationBankingInfo } from './OrganizationBankingInfo';
import { IntegrationDetails } from './IntegrationDetails';

const OrganizationDetails = ({
onClose,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import React from 'react';
import {
QueryClient,
QueryClientProvider,
} from 'react-query';
import { MemoryRouter } from 'react-router-dom';

import { render, screen } from '@folio/jest-config-stripes/testing-library/react';
import user from '@folio/jest-config-stripes/testing-library/user-event';
import { MemoryRouter } from 'react-router-dom';

import { organizationTypes as organizationTypesMock } from 'fixtures';

import OrganizationDetails from './OrganizationDetails';

jest.mock('@folio/stripes-acq-components', () => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ import {
useShowCallout,
} from '@folio/stripes-acq-components';

import {
organizationResourceByUrl,
categoriesResource,
} from '../../common/resources';
import {
useBankingInformationSettings,
useTranslatedCategories,
useTypes,
} from '../../common/hooks';
import {
organizationResourceByUrl,
categoriesResource,
} from '../../common/resources';
import { handleSaveErrorResponse } from '../handleSaveErrorResponse';
import OrganizationDetails from './OrganizationDetails';

Expand Down

0 comments on commit 4233d47

Please sign in to comment.