Skip to content

Commit

Permalink
Revert Username to F/L name field
Browse files Browse the repository at this point in the history
  • Loading branch information
Qodestackr committed Sep 17, 2023
1 parent cbec5b4 commit a674eff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pages/register/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ function Register() {
<h1 className="text-3xl">Register into Dazzle</h1>
<div className="mb-4">
<Input
label="Username"
label="FirstLastName"
type="text"
placeholder="Enter your username"
{...register("username", { required: "Username is required" })}
placeholder="Enter First and Last Name"
{...register("FirstLastName", { required: "Field is required" })}
/>
{errors.username && (
<p className="text-red-500">{errors.username.message as ReactNode}</p>
{errors.FirstLastName && (
<p className="text-red-500">{errors.FirstLastName.message as ReactNode}</p>
)}
</div>
<div className="mb-4">
Expand Down

0 comments on commit a674eff

Please sign in to comment.