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