(e: React.FormEvent)
| 49 | const allowSignin = identifier && password; |
| 50 | |
| 51 | const trySignin = (e: React.FormEvent) => { |
| 52 | e.preventDefault(); |
| 53 | onSignin( |
| 54 | create(LoginRequestSchema, { |
| 55 | email: identifier, |
| 56 | password, |
| 57 | workspace: resolveWorkspaceName(), |
| 58 | }) |
| 59 | ); |
| 60 | }; |
| 61 | |
| 62 | return ( |
| 63 | <form className="flex flex-col gap-y-6 px-1" onSubmit={trySignin}> |
nothing calls this directly
no test coverage detected