refactor: remove useless connect

This commit is contained in:
simon lehericey 2024-11-22 16:13:50 +01:00
parent d4a69aa618
commit 451c0165b4
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -6,10 +6,6 @@ export class EmailFranceConnectController extends ApplicationController {
emailFieldTarget!: HTMLElement; emailFieldTarget!: HTMLElement;
useFranceConnectEmailTargets!: HTMLInputElement[]; useFranceConnectEmailTargets!: HTMLInputElement[];
connect() {
this.triggerEmailField();
}
triggerEmailField() { triggerEmailField() {
const checkedTarget = this.useFranceConnectEmailTargets.find( const checkedTarget = this.useFranceConnectEmailTargets.find(
(target) => target.checked (target) => target.checked