import React, { useEffect } from "react"; import { AuthBox } from "../../components/AuthBox/AuthBox"; import { useSelector } from "react-redux"; import arrow from "../../images/arrow__login_page.png"; import authImg from "../../images/auth_img.png"; import cross from "../../images/cross.png"; import text from "../../images/Body_Text.png"; import arrowBtn from "../../images/arrowRight.png"; import vector from "../../images/Vector_Smart_Object.png"; import vectorBlack from "../../images/Vector_Smart_Object_black.png"; import { selectAuth } from "../../redux/outstaffingSlice"; import { Link, useNavigate } from "react-router-dom"; import { Footer } from "../../components/Footer/Footer"; import SideBar from "../../components/SideBar/SideBar"; import AuthHeader from "../../components/AuthHeader/AuthHeader"; import SliderWorkers from "../../components/SliderWorkers/SliderWorkers"; import "./authForDevelopers.scss"; const AuthForDevelopers = () => { const isAuth = useSelector(selectAuth); let navigate = useNavigate(); const getToken = localStorage.getItem("auth_token"); useEffect(() => { if (isAuth || getToken) { navigate("/profile"); } }, [getToken]); return (

Управление
командой

{/*