mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 19:14:16 +00:00
fix nav
This commit is contained in:
parent
01d9c83fa2
commit
34d984394c
@ -22,7 +22,9 @@ export default (props) => {
|
|||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
if (app.userData) {
|
if (app.userData) {
|
||||||
return app.navigation.goMain()
|
app.navigation.goMain()
|
||||||
|
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
setRandomWallpaper()
|
setRandomWallpaper()
|
||||||
@ -30,6 +32,8 @@ export default (props) => {
|
|||||||
app.controls.openLoginForm({
|
app.controls.openLoginForm({
|
||||||
defaultLocked: true,
|
defaultLocked: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
return true
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return <div className="loginPage">
|
return <div className="loginPage">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user