Web: Fix call api ssov2 if portal in startup

This commit is contained in:
Alexey Safronov 2023-07-15 12:16:34 +04:00
parent 04d22e4654
commit 5e5d0c99ef

View File

@ -26,7 +26,7 @@ const SingleSignOn = (props) => {
const [isSmallWindow, setIsSmallWindow] = useState(false);
useEffect(() => {
load();
isSSOAvailable && load();
onCheckView();
window.addEventListener("resize", onCheckView);