mirror of
https://gitlab.com/wheres-the-tp/ui-mobile.git
synced 2026-01-25 07:54:57 -06:00
remove debugger from loginpage
This commit is contained in:
parent
02cb562ee2
commit
a2206a00bf
1 changed files with 4 additions and 3 deletions
|
|
@ -13,9 +13,11 @@ type Props = {
|
|||
error: string,
|
||||
setError: (err: string) => void,
|
||||
router: {
|
||||
route: {
|
||||
location: {
|
||||
pathname: string,
|
||||
},
|
||||
},
|
||||
history: {
|
||||
replace: (url: string) => void,
|
||||
location: {
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue