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;
useFranceConnectEmailTargets!: HTMLInputElement[];
connect() {
this.triggerEmailField();
}
triggerEmailField() {
const checkedTarget = this.useFranceConnectEmailTargets.find(
(target) => target.checked