diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-26 00:44:51 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-26 00:44:51 +0300 |
commit | f1cdf02e9c0dca3354f4eebd38edd2ba12075893 (patch) | |
tree | c164c722d879869024a1dcd07fec225eb5f5bf47 /src/services/contractors/ContractorPanel.tsx | |
parent | 062f10a25d43b875d187cf582b2ecf96d075ec26 (diff) | |
download | commercel-ui-f1cdf02e9c0dca3354f4eebd38edd2ba12075893.tar.gz |
fix: improve typings
Diffstat (limited to 'src/services/contractors/ContractorPanel.tsx')
-rw-r--r-- | src/services/contractors/ContractorPanel.tsx | 6 |
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"> |