Reenable fastboot
This commit is contained in:
parent
eaf03824fb
commit
e03ba11415
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ import { Editor } from '../Editor/Editor';
|
||||||
import { IEditorState } from '../../Interfaces/IEditorState';
|
import { IEditorState } from '../../Interfaces/IEditorState';
|
||||||
import { LoadState } from './Actions/Load';
|
import { LoadState } from './Actions/Load';
|
||||||
import { LoadEditor, NewEditor } from './Actions/MenuActions';
|
import { LoadEditor, NewEditor } from './Actions/MenuActions';
|
||||||
import { DEFAULT_CONFIG, DEFAULT_MAINCONTAINER_PROPS } from '../../utils/default';
|
import { DEFAULT_CONFIG, DEFAULT_MAINCONTAINER_PROPS, FAST_BOOT } from '../../utils/default';
|
||||||
import { AppState } from '../../Enums/AppState';
|
import { AppState } from '../../Enums/AppState';
|
||||||
import { Loader } from '../Loader/Loader';
|
import { Loader } from '../Loader/Loader';
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ function UseHTTPGETStatePreloading(
|
||||||
};
|
};
|
||||||
|
|
||||||
export function App(props: IAppProps): JSX.Element {
|
export function App(props: IAppProps): JSX.Element {
|
||||||
const [appState, setAppState] = useState<AppState>(AppState.MainMenu);
|
const [appState, setAppState] = useState<AppState>(FAST_BOOT);
|
||||||
const appRef = useRef<HTMLDivElement>(null);
|
const appRef = useRef<HTMLDivElement>(null);
|
||||||
|
|
||||||
const defaultMainContainer = new ContainerModel(
|
const defaultMainContainer = new ContainerModel(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue