This commit is contained in:
Николай Полтщук 2023-03-23 16:49:28 +03:00
parent fd372b47ae
commit d07b9473c4

View File

@ -15,7 +15,6 @@ import "./partnerEmployees.scss"
export const PartnerEmployees = () => {
const partnerEmployees = useSelector(getPartnerEmployees);
if(localStorage.getItem('role_status') !== '18' || !partnerEmployees.length) {
console.log(partnerEmployees.length)
return <Navigate to="/profile/categories" replace/>
}
return(