From 179440665ae9a6900d6f0d5bf309ee13596dedea Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Wed, 3 Apr 2024 16:35:41 +0200
Subject: [PATCH] remove unused const

---
 src/components/Konnector/KonnectorViewerCard.tsx | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/components/Konnector/KonnectorViewerCard.tsx b/src/components/Konnector/KonnectorViewerCard.tsx
index 6d5173501..c3e4a8d94 100644
--- a/src/components/Konnector/KonnectorViewerCard.tsx
+++ b/src/components/Konnector/KonnectorViewerCard.tsx
@@ -99,11 +99,6 @@ const KonnectorViewerCard = ({
   /** Derived value from store.  */
   const isDisconnected = !showOfflineData
 
-  /** If waiting for GRDF consent, do not show anything from KonnectorViewerCard */
-  const isGRDFWaitingForConsent =
-    fluidType === FluidType.GAS &&
-    currentFluidStatus.status === FluidState.CHALLENGE_ASKED
-
   const iconType = getParamPicto(currentFluidStatus.fluidType)
 
   const toggleAccordion = () => {
-- 
GitLab