Skip to content

Commit

Permalink
fix: login and signup issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushabh2397 committed Oct 27, 2021
1 parent 9691f62 commit 14ba437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function Login({ referer }) {
const [isLoading, setIsLoading] = useState(false);

useEffect(() => {
document.getElementById("email").focus();
//document.getElementById("email").focus();
}, []);

const eyeClick = (e) => {
Expand Down
2 changes: 1 addition & 1 deletion pages/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function SignUp({ referer }) {
const [isLoading, setIsLoading] = useState(false);

useEffect(() => {
document.getElementById("fullName").focus();
//document.getElementById("fullName").focus();
}, []);
const termsClick = (e) => {
setTerms((prevState) => {
Expand Down

0 comments on commit 14ba437

Please sign in to comment.