mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Re-enabled login page
This commit is contained in:
parent
cd38a2f053
commit
e07bf98e62
@ -30,7 +30,7 @@ export type OlympusState = {
|
||||
}
|
||||
|
||||
export function UI() {
|
||||
var [loginModalVisible, setLoginModalVisible] = useState(false /* Temporary during devel */);
|
||||
var [loginModalVisible, setLoginModalVisible] = useState(true);
|
||||
var [mainMenuVisible, setMainMenuVisible] = useState(false);
|
||||
var [spawnMenuVisible, setSpawnMenuVisible] = useState(false);
|
||||
var [unitControlMenuVisible, setUnitControlMenuVisible] = useState(false);
|
||||
@ -109,12 +109,12 @@ export function UI() {
|
||||
}
|
||||
|
||||
/* Temporary during devel */
|
||||
useEffect(() => {
|
||||
window.setTimeout(() => {
|
||||
checkPassword("admin");
|
||||
connect("devel");
|
||||
}, 1000)
|
||||
}, [])
|
||||
//useEffect(() => {
|
||||
// window.setTimeout(() => {
|
||||
// checkPassword("admin");
|
||||
// connect("devel");
|
||||
// }, 1000)
|
||||
//}, [])
|
||||
|
||||
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user