From e9e2195b14796be2622d35c1a00d5119152aaae6 Mon Sep 17 00:00:00 2001 From: jwu-fisker Date: Wed, 6 Jan 2021 11:16:06 -0800 Subject: [PATCH] Remove debugger --- src/components/SignInForm/index.jsx | 5 ++--- src/components/SignUpForm/index.jsx | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/SignInForm/index.jsx b/src/components/SignInForm/index.jsx index d734e57..ec5fd54 100644 --- a/src/components/SignInForm/index.jsx +++ b/src/components/SignInForm/index.jsx @@ -1,7 +1,7 @@ import React, { useRef } from 'react'; import { Link as RouterLink } from 'react-router-dom'; 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'; export default function SignInForm() { @@ -14,8 +14,7 @@ export default function SignInForm() { event.preventDefault(); const username = emailEl.current.value; const password = passwordEl.current.value; - const result = await signIn(username, password); - debugger; + await signIn(username, password); } catch (e) { setError(e.message); diff --git a/src/components/SignUpForm/index.jsx b/src/components/SignUpForm/index.jsx index 0959af3..a6b838b 100644 --- a/src/components/SignUpForm/index.jsx +++ b/src/components/SignUpForm/index.jsx @@ -16,8 +16,7 @@ export default function SignInForm() { const email = emailEl.current.value; const password = passwordEl.current.value; const confirm = confirmEl.current.value; - const result = await signUp(email, password, confirm); - debugger; + await signUp(email, password, confirm); } catch (e) { setError(e.message);