add text
This commit is contained in:
@@ -27,8 +27,14 @@ export function Form() {
|
||||
};
|
||||
|
||||
return (
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="flex flex-col gap-2.5">
|
||||
{formState.isSubmitting && <>Okey!</>}
|
||||
<form
|
||||
onSubmit={handleSubmit(onSubmit)}
|
||||
className="flex flex-col gap-2.5 dark:text-green-primary space-y-5"
|
||||
>
|
||||
{formState.isSubmitSuccessful && (
|
||||
<p className="bg-green-700 text-white p-2.5 rounded-lg">OK!</p>
|
||||
)}
|
||||
|
||||
<label>
|
||||
Nome
|
||||
<Input {...register("name")} />
|
||||
|
||||
Reference in New Issue
Block a user