Login:Src:Providers: some fixes

This commit is contained in:
Darya Umrikhina 2024-08-14 19:25:35 +04:00
parent d63657d4b9
commit 28c58ecdcc

View File

@ -60,7 +60,7 @@ export const Providers = ({
const confirmType = useSearchParams().get("type"); const confirmType = useSearchParams().get("type");
let shouldRedirect = true; let shouldRedirect = true;
if (redirectURL == `unavailable` && confirmType == "PortalContinue") { if (redirectURL === "unavailable" && confirmType === "PortalContinue") {
shouldRedirect = false; shouldRedirect = false;
} }