Skip to content

Commit

Permalink
UIOR-101 remove unused code, fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaksei-chumakou committed Jan 15, 2019
1 parent a171e6c commit f1821f1
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 67 deletions.
2 changes: 1 addition & 1 deletion src/components/LayerCollection/LayerPO.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class LayerPO extends Component {
await updateOrderResource(order, parentMutator.records);
onCancel();
} catch (e) {
console.error(e);
// console.error(e);
}
}

Expand Down
4 changes: 0 additions & 4 deletions src/components/POLine/POLine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -202,9 +201,6 @@ class POLine extends Component {
/>
</Accordion>
)}
<Accordion label="Renewals" id="Renewal">
<RenewalView initialValues={line} {...this.props} />
</Accordion>
<Accordion label="Adjustments" id="Adjustments">
<AdjustmentsView initialValues={line} {...this.props} />
</Accordion>
Expand Down
19 changes: 0 additions & 19 deletions src/components/POLine/Renewal/RenewalForm.js

This file was deleted.

36 changes: 0 additions & 36 deletions src/components/POLine/Renewal/RenewalView.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/components/POLine/Renewal/index.js

This file was deleted.

1 change: 0 additions & 1 deletion test/bigtest/interactors/order-edit-page.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
interactor,
clickable,
text,
isPresent,
} from '@bigtest/interactor';
Expand Down
2 changes: 0 additions & 2 deletions test/bigtest/interactors/setting-line-limit.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import {
interactor,
isPresent,
scoped,
} from '@bigtest/interactor';

export default interactor(class SettingLineLimitInteractor {
Expand Down

0 comments on commit f1821f1

Please sign in to comment.