From 451c0165b4b2dd323a2694e02b50a5a6c9acb566 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Fri, 22 Nov 2024 16:13:50 +0100 Subject: [PATCH] refactor: remove useless connect --- app/javascript/controllers/email_france_connect_controller.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/javascript/controllers/email_france_connect_controller.ts b/app/javascript/controllers/email_france_connect_controller.ts index d9be703af..173d1798a 100644 --- a/app/javascript/controllers/email_france_connect_controller.ts +++ b/app/javascript/controllers/email_france_connect_controller.ts @@ -6,10 +6,6 @@ export class EmailFranceConnectController extends ApplicationController { emailFieldTarget!: HTMLElement; useFranceConnectEmailTargets!: HTMLInputElement[]; - connect() { - this.triggerEmailField(); - } - triggerEmailField() { const checkedTarget = this.useFranceConnectEmailTargets.find( (target) => target.checked