Remove debugger
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React, { useRef } from 'react';
|
import React, { useRef } from 'react';
|
||||||
import { Link as RouterLink } from 'react-router-dom';
|
import { Link as RouterLink } from 'react-router-dom';
|
||||||
import { Button, Container, CssBaseline, Grid, Link, TextField, Typography } from '@material-ui/core';
|
import { Button, Container, CssBaseline, Grid, Link, TextField, Typography } from '@material-ui/core';
|
||||||
import { useUserContext } from '../Contexts/UserContext';
|
import { useUserContext } from '../Contexts/UserContext';
|
||||||
import useStyles from '../Styles';
|
import useStyles from '../Styles';
|
||||||
|
|
||||||
export default function SignInForm() {
|
export default function SignInForm() {
|
||||||
@@ -14,8 +14,7 @@ export default function SignInForm() {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
const username = emailEl.current.value;
|
const username = emailEl.current.value;
|
||||||
const password = passwordEl.current.value;
|
const password = passwordEl.current.value;
|
||||||
const result = await signIn(username, password);
|
await signIn(username, password);
|
||||||
debugger;
|
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
setError(e.message);
|
setError(e.message);
|
||||||
|
|||||||
@@ -16,8 +16,7 @@ export default function SignInForm() {
|
|||||||
const email = emailEl.current.value;
|
const email = emailEl.current.value;
|
||||||
const password = passwordEl.current.value;
|
const password = passwordEl.current.value;
|
||||||
const confirm = confirmEl.current.value;
|
const confirm = confirmEl.current.value;
|
||||||
const result = await signUp(email, password, confirm);
|
await signUp(email, password, confirm);
|
||||||
debugger;
|
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
setError(e.message);
|
setError(e.message);
|
||||||
|
|||||||
Reference in New Issue
Block a user