Login:App:Confirm: remove isLoadedState from withLoader

This commit is contained in:
Darya Umrikhina 2024-07-29 12:16:07 +04:00
parent e6741fcab9
commit b1bd16564e

View File

@ -154,14 +154,14 @@ export default function withLoader<T extends WithLoaderProps>(
}, [type, getInviteData]);
const isLoaded =
type === "TfaActivation" || type === "TfaAuth"
? isLoadedState
: type === "PasswordChange" ||
type === "LinkInvite" ||
type === "Activation" ||
type === "EmpInvite"
? !!passwordSettings
: true;
/* type === "TfaActivation" || type === "TfaAuth"
? isLoadedState */
type === "PasswordChange" ||
type === "LinkInvite" ||
type === "Activation" ||
type === "EmpInvite"
? !!passwordSettings
: true;
if (!isLoaded) {
return <Loading />;