remove debugger from loginpage

This commit is contained in:
Bart Akeley 2018-08-25 10:12:06 -05:00
parent 02cb562ee2
commit a2206a00bf

View file

@ -13,8 +13,10 @@ type Props = {
error: string,
setError: (err: string) => void,
router: {
location: {
pathname: string,
route: {
location: {
pathname: string,
},
},
history: {
replace: (url: string) => void,
@ -26,7 +28,6 @@ type Props = {
deauthUser: () => void,
};
const LoginPageComponent = ({ authUser, deauthUser, error, router }: Props) => {
debugger;
if (/logout/.test(router.route.location.pathname)) {
deauthUser();
return null;