Perform more proper sign out operation
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -43,9 +43,13 @@ export function BaseAuthenticatedPage(): React.ReactElement { | |||||||
|     setAnchorEl(null); |     setAnchorEl(null); | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   const signOut = () => { |   const signOut = async () => { | ||||||
|     handleCloseMenu(); |     handleCloseMenu(); | ||||||
|     AuthApi.SignOut(); |     try { | ||||||
|  |       await AuthApi.SignOut(); | ||||||
|  |     } catch (e) { | ||||||
|  |       console.error(e); | ||||||
|  |     } | ||||||
|     navigate("/"); |     navigate("/"); | ||||||
|     auth.setSignedIn(false); |     auth.setSignedIn(false); | ||||||
|   }; |   }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user