From 5962889b61bec9ccbe13c3b51c5da76ddffdd524 Mon Sep 17 00:00:00 2001
From: Pierre Ecarlat <pecarlat@grandlyon.com>
Date: Fri, 5 Apr 2024 14:33:41 +0200
Subject: [PATCH] Typos

---
 src/components/Connection/GRDFConnect/GrdfWaitConsent.scss | 3 +--
 src/utils/utils.spec.ts                                    | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/components/Connection/GRDFConnect/GrdfWaitConsent.scss b/src/components/Connection/GRDFConnect/GrdfWaitConsent.scss
index e87c90a4a..fa3c86e2e 100644
--- a/src/components/Connection/GRDFConnect/GrdfWaitConsent.scss
+++ b/src/components/Connection/GRDFConnect/GrdfWaitConsent.scss
@@ -1,7 +1,6 @@
 @import 'src/styles/base/color';
 
 .grdfWait {
-  margin: auto;
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
@@ -10,7 +9,7 @@
   padding-inline: 1rem;
 
   .green {
-    color: var(--gasColor);
+    color: $gas-color;
   }
 
   .emailContainer {
diff --git a/src/utils/utils.spec.ts b/src/utils/utils.spec.ts
index 367666007..175d26034 100644
--- a/src/utils/utils.spec.ts
+++ b/src/utils/utils.spec.ts
@@ -70,7 +70,7 @@ describe('utils test', () => {
       const result = getKonnectorUpdateError('LOGIN_FAILED')
       expect(result).toBe(KonnectorUpdate.LOGIN_FAILED)
     })
-    it('should return KonnectorUpdate.ERROR_CONSENT_FORM_GAS for CHALLENGE_ASKED', () => {
+    it('should return KonnectorUpdate.ERROR_UPDATE for CHALLENGE_ASKED', () => {
       const result = getKonnectorUpdateError('CHALLENGE_ASKED')
       expect(result).toBe(KonnectorUpdate.ERROR_UPDATE)
     })
-- 
GitLab