Fix passworldess user prompt screen
This is how boolean logic works
This commit is contained in:
@@ -139,10 +139,10 @@ export function GroupCallView({
|
|||||||
widget.api.setAlwaysOnScreen(false);
|
widget.api.setAlwaysOnScreen(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isEmbedded) {
|
if (!isPasswordlessUser && !isEmbedded) {
|
||||||
history.push("/");
|
history.push("/");
|
||||||
}
|
}
|
||||||
}, [leave, isEmbedded, history]);
|
}, [leave, isPasswordlessUser, isEmbedded, history]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (widget && state === GroupCallState.Entered) {
|
if (widget && state === GroupCallState.Entered) {
|
||||||
|
|||||||
Reference in New Issue
Block a user