Client:Pages:PortalSettings: remove unnecessary results checking

This commit is contained in:
Darya Umrikhina 2024-08-12 13:40:14 +04:00
parent eb31dd5fc0
commit 488d388ece

View File

@ -150,7 +150,7 @@ const TwoFactorAuth = (props) => {
if (res) {
setIsInit(false);
if (res) window.location.replace(res);
window.location.replace(res);
}
} catch (error) {
toastr.error(error);