From c52d739e18b7d5690a2ec3f4eaa118c0508ca80c Mon Sep 17 00:00:00 2001 From: fitse-yotor Date: Mon, 17 Aug 2026 07:05:43 +0300 Subject: [PATCH] fix(portal): stop the profile gate hiding the approved registration wizard /seafarer-registration was wrapped in RequireSeafarerProfile, which sends an applicant with an incomplete profile to /profile first. That gate belongs to the replacement design, where registration is filled in from the profile. Mengestab's approved wizard asks for those same personal, identity and contact details itself across its four steps, so the gate bounced the applicant out before they ever saw the form -- which is why the approved UI looked missing rather than merely unreachable. Co-Authored-By: Claude Opus 5 --- apps/portal/src/app/router.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/portal/src/app/router.tsx b/apps/portal/src/app/router.tsx index afba9326f..5692b1187 100644 --- a/apps/portal/src/app/router.tsx +++ b/apps/portal/src/app/router.tsx @@ -155,12 +155,14 @@ export const router = createBrowserRouter([ // Seafarer { path: "/seafarer-registration", + // No profile gate: this wizard asks for the personal, identity and + // contact details itself across its four steps, so sending the + // applicant to /profile first made the approved form unreachable — + // they were bounced out before ever seeing it. element: ( - - - - - + + + ), }, {