mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-29 01:41:22 +00:00
fix(onboarding): apply biome formatter to extractHandle fallback line
This commit is contained in:
parent
698aa9ea69
commit
923ed4e1f2
1 changed files with 1 additions and 2 deletions
|
|
@ -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] ?? ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue