From c222bc06f9c123d3e2fa4a428d74032f54887485 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 17 Apr 2021 19:56:30 +0300
Subject: feat: add ServiceSearch

---
 src/lib/ServiceItem.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/ServiceItem.tsx')

diff --git a/src/lib/ServiceItem.tsx b/src/lib/ServiceItem.tsx
index 6a0a99b..a639132 100644
--- a/src/lib/ServiceItem.tsx
+++ b/src/lib/ServiceItem.tsx
@@ -15,7 +15,7 @@ interface Params {
 const ServiceItem: React.FC = () => {
   const service = useContext(ServiceContext);
   const history = useHistory();
-  const query = useQuery();
+  const { query } = useQuery();
   const { id } = useParams<Params>();
   const { data: item, mutate } = hooks[service.route].useItem(id);
 
-- 
cgit v1.2.3

