Skip to content

Commit

Permalink
chore: Tweak
Browse files Browse the repository at this point in the history
Slight fix, import was missing and bumped minimal erm-components version

ERM-2542
  • Loading branch information
EthanFreestone committed Jan 24, 2023
1 parent d431b30 commit ef82ef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@folio/eslint-config-stripes": "^6.3.0",
"@folio/stripes": "^7.3.1",
"@folio/stripes-cli": "^2.6.1",
"@folio/stripes-erm-components": "^7.0.4",
"@folio/stripes-erm-components": "^7.0.5",
"@folio/stripes-testing": "^4.2.0",
"@formatjs/cli": "^4.2.31",
"@interactors/html": "^1.0.0-rc1.2",
Expand Down Expand Up @@ -89,7 +89,7 @@
},
"peerDependencies": {
"@folio/stripes": "^7.3.1",
"@folio/stripes-erm-components": "^7.0.4",
"@folio/stripes-erm-components": "^7.0.5",
"moment": "^2.29.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
3 changes: 1 addition & 2 deletions src/routes/AgreementViewRoute/AgreementViewRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { FormattedMessage, useIntl } from 'react-intl';
import { flatten } from 'lodash';

import { CalloutContext, useOkapiKy } from '@folio/stripes/core';
import { useInfiniteFetch, useInterfaces, useUsers } from '@folio/stripes-erm-components';
import { useAgreement, useInfiniteFetch, useInterfaces, useUsers } from '@folio/stripes-erm-components';

import { generateKiwtQueryParams } from '@k-int/stripes-kint-components';

Expand Down Expand Up @@ -47,7 +47,6 @@ const AgreementViewRoute = ({

const { agreement, isAgreementLoading } = useAgreement({ agreementId });


const interfaces = useInterfaces({
interfaceIds: flatten((agreement?.orgs ?? []).map(o => o?.org?.orgsUuid_object?.interfaces ?? []))
}) ?? [];
Expand Down

0 comments on commit ef82ef1

Please sign in to comment.