From 923ed4e1f2acaafcc7de625b7954e5c7e7b9d0f3 Mon Sep 17 00:00:00 2001 From: vimzh Date: Sun, 24 May 2026 12:00:36 +0530 Subject: [PATCH] fix(onboarding): apply biome formatter to extractHandle fallback line --- apps/web/app/api/onboarding/research/route.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/app/api/onboarding/research/route.ts b/apps/web/app/api/onboarding/research/route.ts index 8fc39b23..47298303 100644 --- a/apps/web/app/api/onboarding/research/route.ts +++ b/apps/web/app/api/onboarding/research/route.ts @@ -23,8 +23,7 @@ function extractHandle(input: string): string { ) handle = parsed.pathname.split("/").filter(Boolean)[0] ?? "" } catch { - handle = - handle.match(/(?:x\.com|twitter\.com)\/([^/\s?#]+)/i)?.[1] ?? "" + handle = handle.match(/(?:x\.com|twitter\.com)\/([^/\s?#]+)/i)?.[1] ?? "" } }