File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ const router = useRouter();
100100
101101const tryLogout = async () => {
102102 const response = await logout ();
103- if (response .status = 200 ) {
103+ if (response .status === 200 ) {
104104 router .push ({ name: ' Explore' });
105105 }
106106};
Original file line number Diff line number Diff line change @@ -47,17 +47,17 @@ const routes = [
4747 path : '/reset-password' ,
4848 component : ResetPassword ,
4949 props : ( route : RouteLocationNormalized ) => ( {
50- email : route . query . email ,
51- token : route . query . token ,
50+ email : route . query . email as string ?? '' ,
51+ token : route . query . token as string ?? '' ,
5252 } ) ,
5353 } ,
5454 {
5555 name : 'SetupAccount' ,
5656 path : '/setup-account' ,
5757 component : SetupAccountView ,
5858 props : ( route : RouteLocationNormalized ) => ( {
59- email : route . query . email ,
60- token : route . query . token ,
59+ email : route . query . email as string ?? '' ,
60+ token : route . query . token as string ?? '' ,
6161 } ) ,
6262 } ,
6363 {
You can’t perform that action at this time.
0 commit comments