🔧 fix(App.tsx): remove unused isAuthenticated variable to improve code readability

🔧 fix(App.tsx): remove unused isAuthenticated variable to improve code readability
This commit is contained in:
Cristhian Zanforlin Lousa 2023-08-12 15:44:25 -03:00
commit 9b5ac1b22c

View file

@ -127,8 +127,8 @@ export default function App() {
);
};
const { setUserData, getAuthentication, isAuthenticated } = useContext(AuthContext);
//this function is to get the user logged in when the page is refreshed
const { setUserData, getAuthentication } = useContext(AuthContext);
useEffect(() => {
setTimeout(() => {
if(getAuthentication && !isLoginPage){