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 }) => {
const context = useUserContext();
const { token, setError } = context;
debugger;
if (!token) {
setError('Please sign in to access');
return <Redirect to="/" />;