diff --git a/src/components/LayerCollection/LayerPO.js b/src/components/LayerCollection/LayerPO.js index cb7bd61d5..334f0f803 100644 --- a/src/components/LayerCollection/LayerPO.js +++ b/src/components/LayerCollection/LayerPO.js @@ -31,7 +31,7 @@ class LayerPO extends Component { await updateOrderResource(order, parentMutator.records); onCancel(); } catch (e) { - console.error(e); + // console.error(e); } } diff --git a/src/components/POLine/POLine.js b/src/components/POLine/POLine.js index 0453f308e..f97e18ff2 100644 --- a/src/components/POLine/POLine.js +++ b/src/components/POLine/POLine.js @@ -23,7 +23,6 @@ import FundDistributionView from './FundDistribution/FundDistributionView'; import EresourcesView from './Eresources/EresourcesView'; import ItemView from './Item/ItemView'; import PhysicalView from './Physical/PhysicalView'; -import RenewalView from './Renewal/RenewalView'; import AdjustmentsView from './Adjustments/AdjustmentsView'; import LicenseView from './License/LicenseView'; import { @@ -202,9 +201,6 @@ class POLine extends Component { /> )} - - - diff --git a/src/components/POLine/Renewal/RenewalForm.js b/src/components/POLine/Renewal/RenewalForm.js deleted file mode 100644 index f49b3e857..000000000 --- a/src/components/POLine/Renewal/RenewalForm.js +++ /dev/null @@ -1,19 +0,0 @@ -import React, { Component } from 'react'; -import { - Col, - Row, -} from '@folio/stripes/components'; - -class RenewalForm extends Component { - render() { - return ( - - - RenewalForm - - - ); - } -} - -export default RenewalForm; diff --git a/src/components/POLine/Renewal/RenewalView.js b/src/components/POLine/Renewal/RenewalView.js deleted file mode 100644 index 9a3b7c0ee..000000000 --- a/src/components/POLine/Renewal/RenewalView.js +++ /dev/null @@ -1,36 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import _ from 'lodash'; -import { KeyValue, Row, Col } from '@folio/stripes/components'; - -class AdjustmentsView extends React.Component { - static propTypes = { - initialValues: PropTypes.object - } - - render() { - const { initialValues } = this.props; - - return ( - - - - - - - - - - - - - - - - - - ); - } -} - -export default AdjustmentsView; diff --git a/src/components/POLine/Renewal/index.js b/src/components/POLine/Renewal/index.js deleted file mode 100644 index 32e44470b..000000000 --- a/src/components/POLine/Renewal/index.js +++ /dev/null @@ -1,4 +0,0 @@ -import RenewalView from './RenewalView'; -import RenewalForm from './RenewalForm'; - -export { RenewalView, RenewalForm }; diff --git a/test/bigtest/interactors/order-edit-page.js b/test/bigtest/interactors/order-edit-page.js index d6e8a35ab..5ad12b316 100644 --- a/test/bigtest/interactors/order-edit-page.js +++ b/test/bigtest/interactors/order-edit-page.js @@ -1,6 +1,5 @@ import { interactor, - clickable, text, isPresent, } from '@bigtest/interactor'; diff --git a/test/bigtest/interactors/setting-line-limit.js b/test/bigtest/interactors/setting-line-limit.js index 7aaa9f55c..dbefcbb61 100644 --- a/test/bigtest/interactors/setting-line-limit.js +++ b/test/bigtest/interactors/setting-line-limit.js @@ -1,7 +1,5 @@ import { interactor, - isPresent, - scoped, } from '@bigtest/interactor'; export default interactor(class SettingLineLimitInteractor {