From 12f222bcb8e16ac085010922adbf8adeb13c5a5b Mon Sep 17 00:00:00 2001 From: Pierre Ecarlat <pecarlat@grandlyon.com> Date: Wed, 23 Oct 2024 17:02:57 +0200 Subject: [PATCH] Updated the consent checkboxes for epgl --- src/components/Connection/EPGLConnect/StepConsent.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Connection/EPGLConnect/StepConsent.tsx b/src/components/Connection/EPGLConnect/StepConsent.tsx index c9949c8a5..cb1a24861 100644 --- a/src/components/Connection/EPGLConnect/StepConsent.tsx +++ b/src/components/Connection/EPGLConnect/StepConsent.tsx @@ -1,3 +1,4 @@ +import { Checkbox } from '@material-ui/core' import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n' import React from 'react' @@ -27,9 +28,8 @@ const StepConsent = ({ <li>{t('auth.eglgrandlyon.consentLi2')}</li> </ul> <label htmlFor="dataConsentEpgl" className="inline"> - <input + <Checkbox id="dataConsentEpgl" - type="checkbox" className="inputCheckbox" checked={formConsent.dataConsent} onChange={e => @@ -44,9 +44,8 @@ const StepConsent = ({ /> </label> <label htmlFor="contractConfirm" className="inline"> - <input + <Checkbox id="contractConfirm" - type="checkbox" className="inputCheckbox" checked={formConsent.contractConfirm} onChange={e => -- GitLab