summaryrefslogtreecommitdiff
path: root/src/services/waybills
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-26 01:06:44 +0300
committereug-vs <eug-vs@keemail.me>2021-03-26 01:06:44 +0300
commit865b41114060765308d560181f4996c0aa7a3e74 (patch)
tree578d3089e05131445b0a8b6d5e69a3a76aaf7e73 /src/services/waybills
parent91e1a3b4ccaa822097e4adfea5f51056b010fdd6 (diff)
downloadcommercel-ui-865b41114060765308d560181f4996c0aa7a3e74.tar.gz
refactor: move Service to lib/
Diffstat (limited to 'src/services/waybills')
-rw-r--r--src/services/waybills/WaybillPanel.tsx2
-rw-r--r--src/services/waybills/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/services/waybills/WaybillPanel.tsx b/src/services/waybills/WaybillPanel.tsx
index 101a871..1d1701d 100644
--- a/src/services/waybills/WaybillPanel.tsx
+++ b/src/services/waybills/WaybillPanel.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import { useHistory } from 'react-router-dom';
import Button from '../../components/Button';
import { patch, baseURL } from '../../requests';
-import { PanelProps } from '../../containers/Service/ServiceContext';
+import { PanelProps } from '../../lib/ServiceContext';
const WaybillPanel: React.FC<PanelProps> = ({ item, mutate }) => {
diff --git a/src/services/waybills/index.ts b/src/services/waybills/index.ts
index 4e50f54..8cd6c0c 100644
--- a/src/services/waybills/index.ts
+++ b/src/services/waybills/index.ts
@@ -1,7 +1,7 @@
import Form from './WaybillForm';
import Panel from './WaybillPanel';
import { transformOperation, transformStatus } from '../transforms';
-import { ServiceParams } from '../../containers/Service/ServiceContext';
+import { ServiceParams } from '../../lib/ServiceContext';
const service: ServiceParams = {
route: 'waybills',