fixes
This commit is contained in:
parent
fd372b47ae
commit
d07b9473c4
@ -15,7 +15,6 @@ import "./partnerEmployees.scss"
|
|||||||
export const PartnerEmployees = () => {
|
export const PartnerEmployees = () => {
|
||||||
const partnerEmployees = useSelector(getPartnerEmployees);
|
const partnerEmployees = useSelector(getPartnerEmployees);
|
||||||
if(localStorage.getItem('role_status') !== '18' || !partnerEmployees.length) {
|
if(localStorage.getItem('role_status') !== '18' || !partnerEmployees.length) {
|
||||||
console.log(partnerEmployees.length)
|
|
||||||
return <Navigate to="/profile/categories" replace/>
|
return <Navigate to="/profile/categories" replace/>
|
||||||
}
|
}
|
||||||
return(
|
return(
|
||||||
|
Loading…
Reference in New Issue
Block a user