From f1cdf02e9c0dca3354f4eebd38edd2ba12075893 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Fri, 26 Mar 2021 00:44:51 +0300
Subject: fix: improve typings

---
 src/services/contractors/ContractorPanel.tsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'src/services/contractors/ContractorPanel.tsx')

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">
-- 
cgit v1.2.3

