🔧 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:
parent
dc4b757a02
commit
9b5ac1b22c
1 changed files with 2 additions and 2 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue