(domain: string)
| 86 | }; |
| 87 | |
| 88 | const handleSuggestionClick = (domain: string) => { |
| 89 | const [username] = email.current.split('@'); |
| 90 | const newEmail = `${username}@${domain}`; |
| 91 | email.current = newEmail; |
| 92 | passwordRef.current?.focus(); |
| 93 | setSuggestedDomains([]); |
| 94 | }; |
| 95 | |
| 96 | // Handle keyboard events for navigating and selecting suggestions |
| 97 | const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => { |
no outgoing calls
no test coverage detected