Fix passworldess user prompt screen
This is how boolean logic works
This commit is contained in:
		
					parent
					
						
							
								7435f1101a
							
						
					
				
			
			
				commit
				
					
						ded6a80b58
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -139,10 +139,10 @@ export function GroupCallView({
 | 
			
		|||
      widget.api.setAlwaysOnScreen(false);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (!isEmbedded) {
 | 
			
		||||
    if (!isPasswordlessUser && !isEmbedded) {
 | 
			
		||||
      history.push("/");
 | 
			
		||||
    }
 | 
			
		||||
  }, [leave, isEmbedded, history]);
 | 
			
		||||
  }, [leave, isPasswordlessUser, isEmbedded, history]);
 | 
			
		||||
 | 
			
		||||
  useEffect(() => {
 | 
			
		||||
    if (widget && state === GroupCallState.Entered) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue