diff --git a/packages/frontend/src/scripts/confirm-id.ts b/packages/frontend/src/scripts/confirm-id.ts index c6ff57b9f5..9d18b73fdc 100644 --- a/packages/frontend/src/scripts/confirm-id.ts +++ b/packages/frontend/src/scripts/confirm-id.ts @@ -21,7 +21,7 @@ export function confirmId(path?: string) { }, closed: () => dispose(), }); - return new Error('User Account required for id verification'); + throw new Error('User Account required for id verification'); } if ($i && $i.idVerified) return;