Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/app/signup/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function SignupPage() {
const [buttonDisabled, setButtonDisabled] = useState(true);

useEffect(() => {
if (fullname && regno && email) {
if (fullname && email) {
setButtonDisabled(false);
} else {
setButtonDisabled(true);
Expand Down Expand Up @@ -114,7 +114,7 @@ export default function SignupPage() {
/>
</div>

<div className="space-y-1">
{/* <div className="space-y-1">
<Label htmlFor="regno" className="text-white font-medium text-lg">
Registration Number
</Label>
Expand All @@ -126,7 +126,7 @@ export default function SignupPage() {
className="h-[60px] w-[100%] bg-[#D3D5D7] border border-black/20 rounded-lg text-black mb-2"
required
/>
</div>
</div> */}

<div className="space-y-1">
<Label htmlFor="email" className="text-white font-medium text-lg">
Expand All @@ -145,7 +145,7 @@ export default function SignupPage() {
<div className="flex justify-center mt-6">
<Button
type="submit"
// disabled={buttonDisabled || loading}
disabled={buttonDisabled || loading}
className={`w-43 h-11 bg-no-repeat bg-center rounded-xl bg-cover flex items-center justify-center
${
buttonDisabled || loading
Expand Down