From f80f89fd2d83694de8dbce4066e61c022ab87833 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Thu, 17 Jun 2021 22:38:58 +0100 Subject: [PATCH] Update sidebar component --- src/components/Sidebar/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Sidebar/index.tsx b/src/components/Sidebar/index.tsx index 8f587de..61a8aaa 100644 --- a/src/components/Sidebar/index.tsx +++ b/src/components/Sidebar/index.tsx @@ -48,10 +48,7 @@ const Sidebar = () => { false ); - const [ - getProjectsByClientId, - { loading: clientProjectsLoading }, - ] = useLazyQuery< + const [getProjectsByClientId] = useLazyQuery< GetAllProjectsByClientIdQuery, GetAllProjectsByClientIdQueryVariables >(GET_ALL_PROJECTS_BY_CLIENT_ID, {