Skip to content

Commit

Permalink
username_to_email
Browse files Browse the repository at this point in the history
  • Loading branch information
Kratik1093 committed Oct 10, 2024
1 parent 0070f43 commit f5e8e78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/Pages/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ const Login = () => {

{/* Username Input */}
<div className="mb-5">
<label className="block mb-2 font-semibold text-gray-700 " htmlFor="username">Name</label>
<label className="block mb-2 font-semibold text-gray-700 " htmlFor="username">Email</label>
<input
type="text"
id="name"
value={name}
type="email"
id="email"
value={email}
onChange={(e) => setUsername(e.target.value)}
placeholder="Enter your name"
className="w-full px-4 py-2 transition duration-300 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
Expand Down

0 comments on commit f5e8e78

Please sign in to comment.