This commit is contained in:
SrGooglo 2023-06-13 22:53:49 +00:00
parent 01d9c83fa2
commit 34d984394c

View File

@ -22,7 +22,9 @@ export default (props) => {
React.useEffect(() => {
if (app.userData) {
return app.navigation.goMain()
app.navigation.goMain()
return false
}
setRandomWallpaper()
@ -30,6 +32,8 @@ export default (props) => {
app.controls.openLoginForm({
defaultLocked: true,
})
return true
}, [])
return <div className="loginPage">