From aa50285f0b98d8a269b94d79c74f5babed9c2110 Mon Sep 17 00:00:00 2001 From: Bastien Dumont <bdumont@grandlyon.com> Date: Wed, 3 Apr 2024 11:36:38 +0200 Subject: [PATCH] chore(grdf): revert form to empty --- .../Connection/GRDFConnect/GrdfConnectView.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/Connection/GRDFConnect/GrdfConnectView.tsx b/src/components/Connection/GRDFConnect/GrdfConnectView.tsx index 8fc09abbe..114afba3f 100644 --- a/src/components/Connection/GRDFConnect/GrdfConnectView.tsx +++ b/src/components/Connection/GRDFConnect/GrdfConnectView.tsx @@ -29,17 +29,16 @@ export const GrdfConnectView = () => { const [currentStep, setCurrentStep] = useState<GrdfStep>(GrdfStep.Identity) - // TODO DEBUG VALUES const [formData, setFormData] = useState<AccountGRDFData>({ - lastname: 'Dumont', - firstname: 'Bastien', - email: 'bdumont@grandlyon.com', - postalCode: '69007', - pce: '19170766925335', + lastname: '', + firstname: '', + email: '', + postalCode: '', + pce: '', }) const [formConsent, setFormConsent] = useState({ - dataConsent: true, - pceConfirm: true, + dataConsent: false, + pceConfirm: false, }) const [connect, update] = useKonnectorAuth(FluidType.GAS, { -- GitLab