summaryrefslogtreecommitdiff
path: root/src/services/contractors/ContractorPanel.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/contractors/ContractorPanel.tsx')
-rw-r--r--src/services/contractors/ContractorPanel.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/services/contractors/ContractorPanel.tsx b/src/services/contractors/ContractorPanel.tsx
index ce94c48..a3650ef 100644
--- a/src/services/contractors/ContractorPanel.tsx
+++ b/src/services/contractors/ContractorPanel.tsx
@@ -1,13 +1,9 @@
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';
-const ContractorPanel: React.FC<PanelProps> = ({ item, mutate }) => {
- const history = useHistory();
-
+const ContractorPanel: React.FC<PanelProps> = ({ item }) => {
return (
<div className="lg:m-4 p-4 flex flex-col lg:pl-16 lg:border-l">
<span className="text-lg mb-10">