tangled
alpha
login
or
join now
ciaran.co.za
/
cumulus
0
fork
atom
A Prediction Market on the AT Protocol
0
fork
atom
overview
issues
pulls
pipelines
feat(auth-context-provider.tsx): text normalisation for login
Ciaran
1 week ago
fc073ac7
7591382a
+1
-1
1 changed file
expand all
collapse all
unified
split
src
web
providers
auth-context-provider.tsx
+1
-1
src/web/providers/auth-context-provider.tsx
···
60
60
</header>
61
61
<div className="flex-1">
62
62
{showLoginForm && <form onSubmit={handleSubmit} className="mt-2 max-w-sm mx-auto flex flex-col gap-2">
63
63
-
<Input value={identifier} onChange={(e) => setIdentifier(e.target.value)} autoComplete="username" placeholder="username.com" />
63
63
+
<Input value={identifier} onChange={(e) => setIdentifier(e.target.value.toLowerCase().replaceAll(" ", ""))} autoComplete="username" placeholder="username.com" />
64
64
<Button disabled={isLoginLoading} size="sm" type="submit">
65
65
{isLoginLoading && <Spinner />}
66
66
Login