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.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services/contractors/ContractorPanel.tsx b/src/services/contractors/ContractorPanel.tsx
index f7ed8ad..6e703b5 100644
--- a/src/services/contractors/ContractorPanel.tsx
+++ b/src/services/contractors/ContractorPanel.tsx
@@ -1,9 +1,10 @@
import React from 'react';
import Button from '../../components/Button';
import { PanelProps } from '../../lib/ServiceContext';
+import { Contractor } from '../types';
-const ContractorPanel: React.FC<PanelProps> = ({ item }) => {
+const ContractorPanel: React.FC<PanelProps<Contractor>> = ({ item }) => {
return (
<div className="lg:m-4 p-4 flex flex-col lg:pl-16 lg:border-l">
<span className="text-lg mb-10">