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);
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  const signOut = () => {
 | 
			
		||||
  const signOut = async () => {
 | 
			
		||||
    handleCloseMenu();
 | 
			
		||||
    AuthApi.SignOut();
 | 
			
		||||
    try {
 | 
			
		||||
      await AuthApi.SignOut();
 | 
			
		||||
    } catch (e) {
 | 
			
		||||
      console.error(e);
 | 
			
		||||
    }
 | 
			
		||||
    navigate("/");
 | 
			
		||||
    auth.setSignedIn(false);
 | 
			
		||||
  };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user