Skip to content
Snippets Groups Projects
Commit 8a6714d0 authored by xaralis's avatar xaralis
Browse files

feat: minor changes in bootup sequence

parent 63d2d808
No related branches found
No related tags found
No related merge requests found
Pipeline #2010 passed
...@@ -89,10 +89,6 @@ const LoadingComponent = ( ...@@ -89,10 +89,6 @@ const LoadingComponent = (
); );
const BaseApp = () => { const BaseApp = () => {
loadProgram.read();
loadAnnouncements.read();
loadPosts.read();
useEffect(() => { useEffect(() => {
initializeWSChannel.run(); initializeWSChannel.run();
}, []); }, []);
...@@ -128,6 +124,9 @@ const BaseApp = () => { ...@@ -128,6 +124,9 @@ const BaseApp = () => {
const ConfiguredApp = () => { const ConfiguredApp = () => {
loadConfig.read(); loadConfig.read();
loadProgram.read();
loadAnnouncements.read();
loadPosts.read();
return ( return (
<Suspense fallback={LoadingComponent}> <Suspense fallback={LoadingComponent}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment