Login:App:Confirm: remove EmailActivation from withLoader

This commit is contained in:
Darya Umrikhina 2024-07-12 18:07:37 +04:00
parent 5c401190bc
commit d3b910076f

View File

@ -141,13 +141,11 @@ export default function withLoader<T extends WithLoaderProps>(
} }
}, []); }, []);
//remove EmailActivation
useEffect(() => { useEffect(() => {
if ( if (
(type === "PasswordChange" || (type === "PasswordChange" ||
type === "LinkInvite" || type === "LinkInvite" ||
type === "Activation" || type === "Activation" ||
type == "EmailActivation" ||
type === "EmpInvite") && type === "EmpInvite") &&
!passwordSettings !passwordSettings
) { ) {