Merge pull request #574 from OmarTariq612/omar

check local storage for user info before redirecting to the login page
This commit is contained in:
Michael Quigley 2024-03-07 13:36:52 -05:00 committed by GitHub
commit 54a6ddf56c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,8 @@ const App = () => {
console.log("reloaded user", localUser);
}
}
checkUserData()
document.addEventListener('storage', checkUserData)