update toaster LO; add forms where in necessary
This commit is contained in:
@@ -29,17 +29,19 @@ function RouteComponent() {
|
||||
</div>
|
||||
|
||||
<div className="space-y-6 w-[300px]">
|
||||
<Input
|
||||
label="Email"
|
||||
placeholder="Email@example.com"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter") {
|
||||
handleSubmit();
|
||||
}
|
||||
<form
|
||||
onSubmit={(e) => {
|
||||
e.preventDefault();
|
||||
handleSubmit();
|
||||
}}
|
||||
/>
|
||||
>
|
||||
<Input
|
||||
label="Email"
|
||||
placeholder="Email@example.com"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
/>
|
||||
</form>
|
||||
|
||||
<Button
|
||||
className="text-[18px] w-full"
|
||||
|
||||
Reference in New Issue
Block a user