This commit is contained in:
Ebube
2023-06-04 20:32:29 +01:00
parent 8d1eac9ff6
commit e23aa95685
5 changed files with 125 additions and 92 deletions
-1
View File
@@ -26,7 +26,6 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
navigate("/login", { replace: true }); // redirects user to login page after session expires
};
console.log(loadProfileDetails);
const checkInactivity = setInterval(() => {
let { account_type } = loadProfileDetails;
if (account_type === "FAMILY") {