fix(onboarding): apply biome formatter to extractHandle fallback line

This commit is contained in:
vimzh 2026-05-24 12:00:36 +05:30
parent 698aa9ea69
commit 923ed4e1f2

View file

@ -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] ?? ""
}
}