Clean up debugger

This commit is contained in:
jwu-fisker
2021-01-06 10:36:39 -08:00
parent 3d50e8c45a
commit c9e4d26702
2 changed files with 0 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ import { useUserContext } from '../Contexts/UserContext';
export const ProtectedRoute = ({ render, ...others }) => { export const ProtectedRoute = ({ render, ...others }) => {
const context = useUserContext(); const context = useUserContext();
const { token, setError } = context; const { token, setError } = context;
debugger;
if (!token) { if (!token) {
setError('Please sign in to access'); setError('Please sign in to access');
return <Redirect to="/" />; return <Redirect to="/" />;

View File

@@ -18,7 +18,6 @@ export default function SignInForm() {
debugger; debugger;
} }
catch (e) { catch (e) {
debugger;
setError(e.message); setError(e.message);
} }
}; };