diff --git a/web/src/flows/stages/identification/IdentificationStage.ts b/web/src/flows/stages/identification/IdentificationStage.ts index a383faba0..71684683f 100644 --- a/web/src/flows/stages/identification/IdentificationStage.ts +++ b/web/src/flows/stages/identification/IdentificationStage.ts @@ -150,7 +150,7 @@ export class IdentificationStage extends BaseStage< cleanup(): void { if (this.form) { - document.documentElement.removeChild(this.form); + this.form.remove(); } }