Not able to go for registration page due to an useEffect in StaffRegistration index file
Need to fix this issue urgently
- Because of this code you will be redirected to
login page
when you are trying to go for signup
page as overview page
is private page
useEffect(() => {
if (!token) {
navigate('/overview');
}else{
navigate('/overview');
}
}, []);
cc: @Nandeesh @madhavP
Edited
by
Sridhar Katta